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-03-22T12:32:00.4804978+00:00", "PublicationDT": "2023-03-22T12:32:00.4804978+00:00", "Status": 0, "TrainingGuid": "0f02e951-1f0b-4679-aa9e-6736a744fee4", "TrainingLocationGuid": "4ae9e948-717f-4853-a8fe-ad59779c94e4", "AzavistaLink": "sample string 5", "Price": 6.0, "Guid": "25900671-9de9-4b68-860c-f6de13c0bf2d", "Created": "2023-03-22T12:32:00.4804978+00:00", "Modified": "2023-03-22T12:32:00.4804978+00:00", "Deleted": "2023-03-22T12:32:00.4804978+00:00", "ErrorMessages": { "sample string 1": "sample string 2", "sample string 3": "sample string 4" }, "IsValid": false }
application/octet-stream
Sample:
{"ScheduleDT":"2023-03-22T12:32:00.4804978+00:00","PublicationDT":"2023-03-22T12:32:00.4804978+00:00","Status":0,"TrainingGuid":"0f02e951-1f0b-4679-aa9e-6736a744fee4","TrainingLocationGuid":"4ae9e948-717f-4853-a8fe-ad59779c94e4","AzavistaLink":"sample string 5","Price":6.0,"Guid":"25900671-9de9-4b68-860c-f6de13c0bf2d","Created":"2023-03-22T12:32:00.4804978+00:00","Modified":"2023-03-22T12:32:00.4804978+00:00","Deleted":"2023-03-22T12:32:00.4804978+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-03-22T12:32:00.4804978+00:00</Created> <Deleted xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2023-03-22T12:32:00.4804978+00:00</Deleted> <Guid xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">25900671-9de9-4b68-860c-f6de13c0bf2d</Guid> <Modified xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2023-03-22T12:32:00.4804978+00:00</Modified> <AzavistaLink>sample string 5</AzavistaLink> <Price>6</Price> <PublicationDT>2023-03-22T12:32:00.4804978+00:00</PublicationDT> <ScheduleDT>2023-03-22T12:32:00.4804978+00:00</ScheduleDT> <Status>Unassigned</Status> <TrainingGuid>0f02e951-1f0b-4679-aa9e-6736a744fee4</TrainingGuid> <TrainingLocationGuid>4ae9e948-717f-4853-a8fe-ad59779c94e4</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-03-22T12:32:00.4804978+00:00", "PublicationDT": "2023-03-22T12:32:00.4804978+00:00", "Status": 0, "TrainingGuid": "413aa799-4d0e-4d0d-8e4c-0e3e7f473ac9", "TrainingLocationGuid": "498e1e02-623e-48e5-97cc-978d6bdf6c32", "AzavistaLink": "sample string 5", "Price": 6.0, "Guid": "febcbfb3-f820-4fea-9263-cc04051bdde2", "Created": "2023-03-22T12:32:00.4804978+00:00", "Modified": "2023-03-22T12:32:00.4804978+00:00", "Deleted": "2023-03-22T12:32:00.4804978+00:00", "ErrorMessages": { "sample string 1": "sample string 2", "sample string 3": "sample string 4" }, "IsValid": false }
application/octet-stream
Sample:
{"ScheduleDT":"2023-03-22T12:32:00.4804978+00:00","PublicationDT":"2023-03-22T12:32:00.4804978+00:00","Status":0,"TrainingGuid":"413aa799-4d0e-4d0d-8e4c-0e3e7f473ac9","TrainingLocationGuid":"498e1e02-623e-48e5-97cc-978d6bdf6c32","AzavistaLink":"sample string 5","Price":6.0,"Guid":"febcbfb3-f820-4fea-9263-cc04051bdde2","Created":"2023-03-22T12:32:00.4804978+00:00","Modified":"2023-03-22T12:32:00.4804978+00:00","Deleted":"2023-03-22T12:32:00.4804978+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-03-22T12:32:00.4804978+00:00</Created> <Deleted xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2023-03-22T12:32:00.4804978+00:00</Deleted> <Guid xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">febcbfb3-f820-4fea-9263-cc04051bdde2</Guid> <Modified xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2023-03-22T12:32:00.4804978+00:00</Modified> <AzavistaLink>sample string 5</AzavistaLink> <Price>6</Price> <PublicationDT>2023-03-22T12:32:00.4804978+00:00</PublicationDT> <ScheduleDT>2023-03-22T12:32:00.4804978+00:00</ScheduleDT> <Status>Unassigned</Status> <TrainingGuid>413aa799-4d0e-4d0d-8e4c-0e3e7f473ac9</TrainingGuid> <TrainingLocationGuid>498e1e02-623e-48e5-97cc-978d6bdf6c32</TrainingLocationGuid> </TrainingScheduleViewModel>