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": "2023-11-22T11:05:48.8113545+00:00", "PublicationDT": "2023-11-22T11:05:48.8113545+00:00", "Status": 0, "TrainingGuid": "c8c05e2d-f406-44e1-9fc8-557f0d4b207c", "TrainingLocationGuid": "00af7684-373c-4d96-a13d-0fafe80317ec", "AzavistaLink": "sample string 5", "Price": 6.0, "Guid": "3d61437e-7fc6-42fa-8980-1d293490b628", "Created": "2023-11-22T11:05:48.8113545+00:00", "Modified": "2023-11-22T11:05:48.8113545+00:00", "Deleted": "2023-11-22T11:05:48.8113545+00:00", "ErrorMessages": { "sample string 1": "sample string 2", "sample string 3": "sample string 4" }, "IsValid": false }
application/octet-stream
Sample:
{"ScheduleDT":"2023-11-22T11:05:48.8113545+00:00","PublicationDT":"2023-11-22T11:05:48.8113545+00:00","Status":0,"TrainingGuid":"c8c05e2d-f406-44e1-9fc8-557f0d4b207c","TrainingLocationGuid":"00af7684-373c-4d96-a13d-0fafe80317ec","AzavistaLink":"sample string 5","Price":6.0,"Guid":"3d61437e-7fc6-42fa-8980-1d293490b628","Created":"2023-11-22T11:05:48.8113545+00:00","Modified":"2023-11-22T11:05:48.8113545+00:00","Deleted":"2023-11-22T11:05:48.8113545+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">2023-11-22T11:05:48.8113545+00:00</Created> <Deleted xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2023-11-22T11:05:48.8113545+00:00</Deleted> <Guid xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">3d61437e-7fc6-42fa-8980-1d293490b628</Guid> <Modified xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2023-11-22T11:05:48.8113545+00:00</Modified> <AzavistaLink>sample string 5</AzavistaLink> <Price>6</Price> <PublicationDT>2023-11-22T11:05:48.8113545+00:00</PublicationDT> <ScheduleDT>2023-11-22T11:05:48.8113545+00:00</ScheduleDT> <Status>Unassigned</Status> <TrainingGuid>c8c05e2d-f406-44e1-9fc8-557f0d4b207c</TrainingGuid> <TrainingLocationGuid>00af7684-373c-4d96-a13d-0fafe80317ec</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": "2023-11-22T11:05:48.8113545+00:00", "PublicationDT": "2023-11-22T11:05:48.8113545+00:00", "Status": 0, "TrainingGuid": "fbb9de62-fba8-40f1-a0f7-d5fc64ed4cc8", "TrainingLocationGuid": "044526b0-d1b5-40a9-8142-53f220da7303", "AzavistaLink": "sample string 5", "Price": 6.0, "Guid": "f0241c8c-1820-4907-8048-ee82fb4fa5bb", "Created": "2023-11-22T11:05:48.8113545+00:00", "Modified": "2023-11-22T11:05:48.8113545+00:00", "Deleted": "2023-11-22T11:05:48.8113545+00:00", "ErrorMessages": { "sample string 1": "sample string 2", "sample string 3": "sample string 4" }, "IsValid": false }
application/octet-stream
Sample:
{"ScheduleDT":"2023-11-22T11:05:48.8113545+00:00","PublicationDT":"2023-11-22T11:05:48.8113545+00:00","Status":0,"TrainingGuid":"fbb9de62-fba8-40f1-a0f7-d5fc64ed4cc8","TrainingLocationGuid":"044526b0-d1b5-40a9-8142-53f220da7303","AzavistaLink":"sample string 5","Price":6.0,"Guid":"f0241c8c-1820-4907-8048-ee82fb4fa5bb","Created":"2023-11-22T11:05:48.8113545+00:00","Modified":"2023-11-22T11:05:48.8113545+00:00","Deleted":"2023-11-22T11:05:48.8113545+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">2023-11-22T11:05:48.8113545+00:00</Created> <Deleted xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2023-11-22T11:05:48.8113545+00:00</Deleted> <Guid xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">f0241c8c-1820-4907-8048-ee82fb4fa5bb</Guid> <Modified xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2023-11-22T11:05:48.8113545+00:00</Modified> <AzavistaLink>sample string 5</AzavistaLink> <Price>6</Price> <PublicationDT>2023-11-22T11:05:48.8113545+00:00</PublicationDT> <ScheduleDT>2023-11-22T11:05:48.8113545+00:00</ScheduleDT> <Status>Unassigned</Status> <TrainingGuid>fbb9de62-fba8-40f1-a0f7-d5fc64ed4cc8</TrainingGuid> <TrainingLocationGuid>044526b0-d1b5-40a9-8142-53f220da7303</TrainingLocationGuid> </TrainingScheduleViewModel>