POST api/v2/Event
Request
URI Parameters
Body Parameters
EventNewName | Description | Type | Additional information |
---|---|---|---|
Id | integer | ||
CreationUserId | integer | ||
CreationUser | UserBasic | ||
CreationDateTime | date | ||
EditionUserId | integer | ||
EditionUser | UserBasic | ||
EditionDateTime | date | ||
Identification | string | ||
Start | date | ||
End | date | ||
AllDay | boolean | ||
Description | string | ||
TimeZoneId | string | ||
Confidential | boolean | ||
Users | Collection of integer | ||
Resources | Collection of integer | ||
SampleMethods | Collection of integer | ||
Equipments | Collection of integer |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "CreationUserId": 1, "CreationUser": { "Active": true, "CultureId": "sample string 2", "Login": "sample string 3", "Email": "sample string 4", "ServiceCenter": { "Active": true, "PriceList": { "Active": true, "Expire": "2025-08-04T18:39:32.6307959Z", "ConsiderServiceCenterPriceListFromSampleOrWork": true, "Id": 3, "Identification": "sample string 4" }, "Id": 2, "Identification": "sample string 3" }, "ServiceArea": { "ServiceCenter": { "Active": true, "PriceList": { "Active": true, "Expire": "2025-08-04T18:39:32.6307959Z", "ConsiderServiceCenterPriceListFromSampleOrWork": true, "Id": 3, "Identification": "sample string 4" }, "Id": 2, "Identification": "sample string 3" }, "ExtraTime": 1, "ExternalServiceArea": true, "Active": true, "Id": 3, "Identification": "sample string 4" }, "Account": { "Complement": "sample string 1", "ReferenceKey": "sample string 2", "AccountType": { "Active": true, "RequireRegistryNumber": true, "AccountTypeRegistryTypeId": 1, "Id": 3, "Identification": "sample string 4" }, "PriceList": { "Active": true, "Expire": "2025-08-04T18:39:32.6307959Z", "ConsiderServiceCenterPriceListFromSampleOrWork": true, "Id": 3, "Identification": "sample string 4" }, "Active": true, "RelatedAccountRequired": true, "RegistryNumber": "sample string 5", "CultureId": "sample string 6", "Id": 7, "Identification": "sample string 8" }, "SignatureCertFileId": 1, "LicenseGroup": { "Id": 1, "Identification": "sample string 2", "UserReadOnlyAccessCount": 3, "UserEditableAccessCount": 4 }, "ReadOnlyAccess": true, "Reserved": true, "ServiceAreaId": 1, "ExternalUser": "sample string 5", "Id": 6, "Identification": "sample string 7" }, "CreationDateTime": "2025-08-04T18:39:32.6307959Z", "EditionUserId": 1, "EditionUser": { "Active": true, "CultureId": "sample string 2", "Login": "sample string 3", "Email": "sample string 4", "ServiceCenter": { "Active": true, "PriceList": { "Active": true, "Expire": "2025-08-04T18:39:32.6307959Z", "ConsiderServiceCenterPriceListFromSampleOrWork": true, "Id": 3, "Identification": "sample string 4" }, "Id": 2, "Identification": "sample string 3" }, "ServiceArea": { "ServiceCenter": { "Active": true, "PriceList": { "Active": true, "Expire": "2025-08-04T18:39:32.6307959Z", "ConsiderServiceCenterPriceListFromSampleOrWork": true, "Id": 3, "Identification": "sample string 4" }, "Id": 2, "Identification": "sample string 3" }, "ExtraTime": 1, "ExternalServiceArea": true, "Active": true, "Id": 3, "Identification": "sample string 4" }, "Account": { "Complement": "sample string 1", "ReferenceKey": "sample string 2", "AccountType": { "Active": true, "RequireRegistryNumber": true, "AccountTypeRegistryTypeId": 1, "Id": 3, "Identification": "sample string 4" }, "PriceList": { "Active": true, "Expire": "2025-08-04T18:39:32.6307959Z", "ConsiderServiceCenterPriceListFromSampleOrWork": true, "Id": 3, "Identification": "sample string 4" }, "Active": true, "RelatedAccountRequired": true, "RegistryNumber": "sample string 5", "CultureId": "sample string 6", "Id": 7, "Identification": "sample string 8" }, "SignatureCertFileId": 1, "LicenseGroup": { "Id": 1, "Identification": "sample string 2", "UserReadOnlyAccessCount": 3, "UserEditableAccessCount": 4 }, "ReadOnlyAccess": true, "Reserved": true, "ServiceAreaId": 1, "ExternalUser": "sample string 5", "Id": 6, "Identification": "sample string 7" }, "EditionDateTime": "2025-08-04T18:39:32.6307959Z", "Identification": "sample string 2", "Start": "2025-08-04T18:39:32.6307959Z", "End": "2025-08-04T18:39:32.6307959Z", "AllDay": true, "Description": "sample string 6", "TimeZoneId": "sample string 7", "Confidential": true, "Users": [ 1, 2 ], "Resources": [ 1, 2 ], "SampleMethods": [ 1, 2 ], "Equipments": [ 1, 2 ] }
text/html
Sample:
{"Id":1,"CreationUserId":1,"CreationUser":{"Active":true,"CultureId":"sample string 2","Login":"sample string 3","Email":"sample string 4","ServiceCenter":{"Active":true,"PriceList":{"Active":true,"Expire":"2025-08-04T18:39:32.6307959Z","ConsiderServiceCenterPriceListFromSampleOrWork":true,"Id":3,"Identification":"sample string 4"},"Id":2,"Identification":"sample string 3"},"ServiceArea":{"ServiceCenter":{"Active":true,"PriceList":{"Active":true,"Expire":"2025-08-04T18:39:32.6307959Z","ConsiderServiceCenterPriceListFromSampleOrWork":true,"Id":3,"Identification":"sample string 4"},"Id":2,"Identification":"sample string 3"},"ExtraTime":1,"ExternalServiceArea":true,"Active":true,"Id":3,"Identification":"sample string 4"},"Account":{"Complement":"sample string 1","ReferenceKey":"sample string 2","AccountType":{"Active":true,"RequireRegistryNumber":true,"AccountTypeRegistryTypeId":1,"Id":3,"Identification":"sample string 4"},"PriceList":{"Active":true,"Expire":"2025-08-04T18:39:32.6307959Z","ConsiderServiceCenterPriceListFromSampleOrWork":true,"Id":3,"Identification":"sample string 4"},"Active":true,"RelatedAccountRequired":true,"RegistryNumber":"sample string 5","CultureId":"sample string 6","Id":7,"Identification":"sample string 8"},"SignatureCertFileId":1,"LicenseGroup":{"Id":1,"Identification":"sample string 2","UserReadOnlyAccessCount":3,"UserEditableAccessCount":4},"ReadOnlyAccess":true,"Reserved":true,"ServiceAreaId":1,"ExternalUser":"sample string 5","Id":6,"Identification":"sample string 7"},"CreationDateTime":"2025-08-04T18:39:32.6307959Z","EditionUserId":1,"EditionUser":{"Active":true,"CultureId":"sample string 2","Login":"sample string 3","Email":"sample string 4","ServiceCenter":{"Active":true,"PriceList":{"Active":true,"Expire":"2025-08-04T18:39:32.6307959Z","ConsiderServiceCenterPriceListFromSampleOrWork":true,"Id":3,"Identification":"sample string 4"},"Id":2,"Identification":"sample string 3"},"ServiceArea":{"ServiceCenter":{"Active":true,"PriceList":{"Active":true,"Expire":"2025-08-04T18:39:32.6307959Z","ConsiderServiceCenterPriceListFromSampleOrWork":true,"Id":3,"Identification":"sample string 4"},"Id":2,"Identification":"sample string 3"},"ExtraTime":1,"ExternalServiceArea":true,"Active":true,"Id":3,"Identification":"sample string 4"},"Account":{"Complement":"sample string 1","ReferenceKey":"sample string 2","AccountType":{"Active":true,"RequireRegistryNumber":true,"AccountTypeRegistryTypeId":1,"Id":3,"Identification":"sample string 4"},"PriceList":{"Active":true,"Expire":"2025-08-04T18:39:32.6307959Z","ConsiderServiceCenterPriceListFromSampleOrWork":true,"Id":3,"Identification":"sample string 4"},"Active":true,"RelatedAccountRequired":true,"RegistryNumber":"sample string 5","CultureId":"sample string 6","Id":7,"Identification":"sample string 8"},"SignatureCertFileId":1,"LicenseGroup":{"Id":1,"Identification":"sample string 2","UserReadOnlyAccessCount":3,"UserEditableAccessCount":4},"ReadOnlyAccess":true,"Reserved":true,"ServiceAreaId":1,"ExternalUser":"sample string 5","Id":6,"Identification":"sample string 7"},"EditionDateTime":"2025-08-04T18:39:32.6307959Z","Identification":"sample string 2","Start":"2025-08-04T18:39:32.6307959Z","End":"2025-08-04T18:39:32.6307959Z","AllDay":true,"Description":"sample string 6","TimeZoneId":"sample string 7","Confidential":true,"Users":[1,2],"Resources":[1,2],"SampleMethods":[1,2],"Equipments":[1,2]}
Response
integerResponse Format
application/json, text/json, text/html
Sample:
1