PUT 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:49.6707326+00:00", "PublicationDT": "2023-11-22T11:05:49.6707326+00:00", "Status": 0, "TrainingGuid": "dafdf0c7-0ead-462b-91c9-e70659f025fd", "TrainingLocationGuid": "13f978c2-956d-40c2-b150-02242d0f5c7e", "AzavistaLink": "sample string 5", "Price": 6.0, "Guid": "09c30355-ed5a-4e2c-aaab-3be3d6d27950", "Created": "2023-11-22T11:05:49.6707326+00:00", "Modified": "2023-11-22T11:05:49.6707326+00:00", "Deleted": "2023-11-22T11:05:49.6707326+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:49.6707326+00:00","PublicationDT":"2023-11-22T11:05:49.6707326+00:00","Status":0,"TrainingGuid":"dafdf0c7-0ead-462b-91c9-e70659f025fd","TrainingLocationGuid":"13f978c2-956d-40c2-b150-02242d0f5c7e","AzavistaLink":"sample string 5","Price":6.0,"Guid":"09c30355-ed5a-4e2c-aaab-3be3d6d27950","Created":"2023-11-22T11:05:49.6707326+00:00","Modified":"2023-11-22T11:05:49.6707326+00:00","Deleted":"2023-11-22T11:05:49.6707326+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:49.6707326+00:00</Created> <Deleted xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2023-11-22T11:05:49.6707326+00:00</Deleted> <Guid xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">09c30355-ed5a-4e2c-aaab-3be3d6d27950</Guid> <Modified xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2023-11-22T11:05:49.6707326+00:00</Modified> <AzavistaLink>sample string 5</AzavistaLink> <Price>6</Price> <PublicationDT>2023-11-22T11:05:49.6707326+00:00</PublicationDT> <ScheduleDT>2023-11-22T11:05:49.6707326+00:00</ScheduleDT> <Status>Unassigned</Status> <TrainingGuid>dafdf0c7-0ead-462b-91c9-e70659f025fd</TrainingGuid> <TrainingLocationGuid>13f978c2-956d-40c2-b150-02242d0f5c7e</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:49.6863612+00:00", "PublicationDT": "2023-11-22T11:05:49.6863612+00:00", "Status": 0, "TrainingGuid": "2e20f758-5a64-427b-98e2-2ced21820584", "TrainingLocationGuid": "3030ae58-f0c5-4603-a489-146b7fe98538", "AzavistaLink": "sample string 5", "Price": 6.0, "Guid": "568a66f9-6a97-4894-8c70-88e92dd97d75", "Created": "2023-11-22T11:05:49.6863612+00:00", "Modified": "2023-11-22T11:05:49.6863612+00:00", "Deleted": "2023-11-22T11:05:49.6863612+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:49.6863612+00:00","PublicationDT":"2023-11-22T11:05:49.6863612+00:00","Status":0,"TrainingGuid":"2e20f758-5a64-427b-98e2-2ced21820584","TrainingLocationGuid":"3030ae58-f0c5-4603-a489-146b7fe98538","AzavistaLink":"sample string 5","Price":6.0,"Guid":"568a66f9-6a97-4894-8c70-88e92dd97d75","Created":"2023-11-22T11:05:49.6863612+00:00","Modified":"2023-11-22T11:05:49.6863612+00:00","Deleted":"2023-11-22T11:05:49.6863612+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:49.6863612+00:00</Created> <Deleted xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2023-11-22T11:05:49.6863612+00:00</Deleted> <Guid xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">568a66f9-6a97-4894-8c70-88e92dd97d75</Guid> <Modified xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2023-11-22T11:05:49.6863612+00:00</Modified> <AzavistaLink>sample string 5</AzavistaLink> <Price>6</Price> <PublicationDT>2023-11-22T11:05:49.6863612+00:00</PublicationDT> <ScheduleDT>2023-11-22T11:05:49.6863612+00:00</ScheduleDT> <Status>Unassigned</Status> <TrainingGuid>2e20f758-5a64-427b-98e2-2ced21820584</TrainingGuid> <TrainingLocationGuid>3030ae58-f0c5-4603-a489-146b7fe98538</TrainingLocationGuid> </TrainingScheduleViewModel>