PUT v1/TrainingSchedule

Request Information

URI Parameters

None.

Body Parameters

TrainingScheduleViewModel
NameDescriptionTypeAdditional 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-10-03T16:37:53.0309517+00:00",
  "PublicationDT": "2024-10-03T16:37:53.0309517+00:00",
  "Status": 0,
  "TrainingGuid": "69f4a4b8-64d6-449a-ba57-6c1a61492e1f",
  "TrainingLocationGuid": "b42db958-ffd5-43f4-b893-902baf4eccec",
  "AzavistaLink": "sample string 5",
  "Price": 6.0,
  "Guid": "ca1d25d9-8c07-4ccb-8ea1-8ea590baa5bb",
  "Created": "2024-10-03T16:37:53.0309517+00:00",
  "Modified": "2024-10-03T16:37:53.0309517+00:00",
  "Deleted": "2024-10-03T16:37:53.0309517+00:00",
  "ErrorMessages": {
    "sample string 1": "sample string 2",
    "sample string 3": "sample string 4"
  },
  "IsValid": false
}

application/octet-stream

Sample:
{"ScheduleDT":"2024-10-03T16:37:53.0309517+00:00","PublicationDT":"2024-10-03T16:37:53.0309517+00:00","Status":0,"TrainingGuid":"69f4a4b8-64d6-449a-ba57-6c1a61492e1f","TrainingLocationGuid":"b42db958-ffd5-43f4-b893-902baf4eccec","AzavistaLink":"sample string 5","Price":6.0,"Guid":"ca1d25d9-8c07-4ccb-8ea1-8ea590baa5bb","Created":"2024-10-03T16:37:53.0309517+00:00","Modified":"2024-10-03T16:37:53.0309517+00:00","Deleted":"2024-10-03T16:37:53.0309517+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-10-03T16:37:53.0309517+00:00</Created>
  <Deleted xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2024-10-03T16:37:53.0309517+00:00</Deleted>
  <Guid xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">ca1d25d9-8c07-4ccb-8ea1-8ea590baa5bb</Guid>
  <Modified xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2024-10-03T16:37:53.0309517+00:00</Modified>
  <AzavistaLink>sample string 5</AzavistaLink>
  <Price>6</Price>
  <PublicationDT>2024-10-03T16:37:53.0309517+00:00</PublicationDT>
  <ScheduleDT>2024-10-03T16:37:53.0309517+00:00</ScheduleDT>
  <Status>Unassigned</Status>
  <TrainingGuid>69f4a4b8-64d6-449a-ba57-6c1a61492e1f</TrainingGuid>
  <TrainingLocationGuid>b42db958-ffd5-43f4-b893-902baf4eccec</TrainingLocationGuid>
</TrainingScheduleViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

TrainingScheduleViewModel
NameDescriptionTypeAdditional 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-10-03T16:37:53.0465749+00:00",
  "PublicationDT": "2024-10-03T16:37:53.0465749+00:00",
  "Status": 0,
  "TrainingGuid": "cf493fd6-b1eb-4002-bf51-4126c741e716",
  "TrainingLocationGuid": "0abcea97-1674-4e59-ab51-32e43796f797",
  "AzavistaLink": "sample string 5",
  "Price": 6.0,
  "Guid": "c5ee8673-f4f5-44e6-b208-3a5eac4aa086",
  "Created": "2024-10-03T16:37:53.0465749+00:00",
  "Modified": "2024-10-03T16:37:53.0465749+00:00",
  "Deleted": "2024-10-03T16:37:53.0465749+00:00",
  "ErrorMessages": {
    "sample string 1": "sample string 2",
    "sample string 3": "sample string 4"
  },
  "IsValid": false
}

application/octet-stream

Sample:
{"ScheduleDT":"2024-10-03T16:37:53.0465749+00:00","PublicationDT":"2024-10-03T16:37:53.0465749+00:00","Status":0,"TrainingGuid":"cf493fd6-b1eb-4002-bf51-4126c741e716","TrainingLocationGuid":"0abcea97-1674-4e59-ab51-32e43796f797","AzavistaLink":"sample string 5","Price":6.0,"Guid":"c5ee8673-f4f5-44e6-b208-3a5eac4aa086","Created":"2024-10-03T16:37:53.0465749+00:00","Modified":"2024-10-03T16:37:53.0465749+00:00","Deleted":"2024-10-03T16:37:53.0465749+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-10-03T16:37:53.0465749+00:00</Created>
  <Deleted xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2024-10-03T16:37:53.0465749+00:00</Deleted>
  <Guid xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">c5ee8673-f4f5-44e6-b208-3a5eac4aa086</Guid>
  <Modified xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2024-10-03T16:37:53.0465749+00:00</Modified>
  <AzavistaLink>sample string 5</AzavistaLink>
  <Price>6</Price>
  <PublicationDT>2024-10-03T16:37:53.0465749+00:00</PublicationDT>
  <ScheduleDT>2024-10-03T16:37:53.0465749+00:00</ScheduleDT>
  <Status>Unassigned</Status>
  <TrainingGuid>cf493fd6-b1eb-4002-bf51-4126c741e716</TrainingGuid>
  <TrainingLocationGuid>0abcea97-1674-4e59-ab51-32e43796f797</TrainingLocationGuid>
</TrainingScheduleViewModel>