POST v1/TrainingSchedule
Request Information
URI Parameters
None.
Body Parameters
TrainingScheduleViewModelName | Description | Type | Additional information |
---|---|---|---|
ScheduleDT | date |
None. |
|
PublicationDT | date |
None. |
|
Status | TrainingScheduleStatus |
None. |
|
TrainingGuid | globally unique identifier |
None. |
|
TrainingLocationGuid | globally unique identifier |
None. |
|
AzavistaLink | string |
None. |
|
Price | decimal number |
None. |
|
Guid | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "ScheduleDT": "2024-07-27T08:41:07.0546966+00:00", "PublicationDT": "2024-07-27T08:41:07.0546966+00:00", "Status": 0, "TrainingGuid": "2e4c30e8-8cb9-4d19-99a9-8ea18885bc20", "TrainingLocationGuid": "ebe3cc2e-2e34-4c9a-8433-fd07ac32b606", "AzavistaLink": "sample string 5", "Price": 6.0, "Guid": "03d65b04-ff3f-484c-a26d-6d6d295d7fe5", "Created": "2024-07-27T08:41:07.0546966+00:00", "Modified": "2024-07-27T08:41:07.0546966+00:00", "Deleted": "2024-07-27T08:41:07.0546966+00:00", "ErrorMessages": { "sample string 1": "sample string 2", "sample string 3": "sample string 4" }, "IsValid": false }
application/octet-stream
Sample:
{"ScheduleDT":"2024-07-27T08:41:07.0546966+00:00","PublicationDT":"2024-07-27T08:41:07.0546966+00:00","Status":0,"TrainingGuid":"2e4c30e8-8cb9-4d19-99a9-8ea18885bc20","TrainingLocationGuid":"ebe3cc2e-2e34-4c9a-8433-fd07ac32b606","AzavistaLink":"sample string 5","Price":6.0,"Guid":"03d65b04-ff3f-484c-a26d-6d6d295d7fe5","Created":"2024-07-27T08:41:07.0546966+00:00","Modified":"2024-07-27T08:41:07.0546966+00:00","Deleted":"2024-07-27T08:41:07.0546966+00:00","ErrorMessages":{"sample string 1":"sample string 2","sample string 3":"sample string 4"},"IsValid":false}
application/xml, text/xml
Sample:
<TrainingScheduleViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services.Entity"> <ErrorMessages xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services"> <d2p1:KeyValueOfstringstring> <d2p1:Key>sample string 1</d2p1:Key> <d2p1:Value>sample string 2</d2p1:Value> </d2p1:KeyValueOfstringstring> <d2p1:KeyValueOfstringstring> <d2p1:Key>sample string 3</d2p1:Key> <d2p1:Value>sample string 4</d2p1:Value> </d2p1:KeyValueOfstringstring> </ErrorMessages> <Created xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2024-07-27T08:41:07.0546966+00:00</Created> <Deleted xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2024-07-27T08:41:07.0546966+00:00</Deleted> <Guid xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">03d65b04-ff3f-484c-a26d-6d6d295d7fe5</Guid> <Modified xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2024-07-27T08:41:07.0546966+00:00</Modified> <AzavistaLink>sample string 5</AzavistaLink> <Price>6</Price> <PublicationDT>2024-07-27T08:41:07.0546966+00:00</PublicationDT> <ScheduleDT>2024-07-27T08:41:07.0546966+00:00</ScheduleDT> <Status>Unassigned</Status> <TrainingGuid>2e4c30e8-8cb9-4d19-99a9-8ea18885bc20</TrainingGuid> <TrainingLocationGuid>ebe3cc2e-2e34-4c9a-8433-fd07ac32b606</TrainingLocationGuid> </TrainingScheduleViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
TrainingScheduleViewModelName | Description | Type | Additional information |
---|---|---|---|
ScheduleDT | date |
None. |
|
PublicationDT | date |
None. |
|
Status | TrainingScheduleStatus |
None. |
|
TrainingGuid | globally unique identifier |
None. |
|
TrainingLocationGuid | globally unique identifier |
None. |
|
AzavistaLink | string |
None. |
|
Price | decimal number |
None. |
|
Guid | globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
{ "ScheduleDT": "2024-07-27T08:41:07.0546966+00:00", "PublicationDT": "2024-07-27T08:41:07.0546966+00:00", "Status": 0, "TrainingGuid": "8a3e6d21-f983-486c-8e9c-c085c506dc5b", "TrainingLocationGuid": "d1701670-534b-45d4-8010-9c37603c67d2", "AzavistaLink": "sample string 5", "Price": 6.0, "Guid": "5c939b62-d0dd-4616-9e16-265f53122a12", "Created": "2024-07-27T08:41:07.0546966+00:00", "Modified": "2024-07-27T08:41:07.0546966+00:00", "Deleted": "2024-07-27T08:41:07.0546966+00:00", "ErrorMessages": { "sample string 1": "sample string 2", "sample string 3": "sample string 4" }, "IsValid": false }
application/octet-stream
Sample:
{"ScheduleDT":"2024-07-27T08:41:07.0546966+00:00","PublicationDT":"2024-07-27T08:41:07.0546966+00:00","Status":0,"TrainingGuid":"8a3e6d21-f983-486c-8e9c-c085c506dc5b","TrainingLocationGuid":"d1701670-534b-45d4-8010-9c37603c67d2","AzavistaLink":"sample string 5","Price":6.0,"Guid":"5c939b62-d0dd-4616-9e16-265f53122a12","Created":"2024-07-27T08:41:07.0546966+00:00","Modified":"2024-07-27T08:41:07.0546966+00:00","Deleted":"2024-07-27T08:41:07.0546966+00:00","ErrorMessages":{"sample string 1":"sample string 2","sample string 3":"sample string 4"},"IsValid":false}
application/xml, text/xml
Sample:
<TrainingScheduleViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services.Entity"> <ErrorMessages xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services"> <d2p1:KeyValueOfstringstring> <d2p1:Key>sample string 1</d2p1:Key> <d2p1:Value>sample string 2</d2p1:Value> </d2p1:KeyValueOfstringstring> <d2p1:KeyValueOfstringstring> <d2p1:Key>sample string 3</d2p1:Key> <d2p1:Value>sample string 4</d2p1:Value> </d2p1:KeyValueOfstringstring> </ErrorMessages> <Created xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2024-07-27T08:41:07.0546966+00:00</Created> <Deleted xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2024-07-27T08:41:07.0546966+00:00</Deleted> <Guid xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">5c939b62-d0dd-4616-9e16-265f53122a12</Guid> <Modified xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2024-07-27T08:41:07.0546966+00:00</Modified> <AzavistaLink>sample string 5</AzavistaLink> <Price>6</Price> <PublicationDT>2024-07-27T08:41:07.0546966+00:00</PublicationDT> <ScheduleDT>2024-07-27T08:41:07.0546966+00:00</ScheduleDT> <Status>Unassigned</Status> <TrainingGuid>8a3e6d21-f983-486c-8e9c-c085c506dc5b</TrainingGuid> <TrainingLocationGuid>d1701670-534b-45d4-8010-9c37603c67d2</TrainingLocationGuid> </TrainingScheduleViewModel>