POST v1/TrainingScheduleDate

Request Information

URI Parameters

None.

Body Parameters

TrainingScheduleDateViewModel
NameDescriptionTypeAdditional information
Date

date

None.

Daypart

string

None.

TrainingScheduleGuid

globally unique identifier

None.

Guid

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "Date": "2024-10-03T16:39:39.4290144+00:00",
  "Daypart": "sample string 2",
  "TrainingScheduleGuid": "158f4c5e-b778-4b5a-ae80-6efaa4832778",
  "Guid": "14733107-80ad-4f6a-897f-93a4ca7d0f42",
  "Created": "2024-10-03T16:39:39.4290144+00:00",
  "Modified": "2024-10-03T16:39:39.4290144+00:00",
  "Deleted": "2024-10-03T16:39:39.4290144+00:00",
  "ErrorMessages": {
    "sample string 1": "sample string 2",
    "sample string 3": "sample string 4"
  },
  "IsValid": false
}

application/octet-stream

Sample:
{"Date":"2024-10-03T16:39:39.4290144+00:00","Daypart":"sample string 2","TrainingScheduleGuid":"158f4c5e-b778-4b5a-ae80-6efaa4832778","Guid":"14733107-80ad-4f6a-897f-93a4ca7d0f42","Created":"2024-10-03T16:39:39.4290144+00:00","Modified":"2024-10-03T16:39:39.4290144+00:00","Deleted":"2024-10-03T16:39:39.4290144+00:00","ErrorMessages":{"sample string 1":"sample string 2","sample string 3":"sample string 4"},"IsValid":false}

application/xml, text/xml

Sample:
<TrainingScheduleDateViewModel 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:39:39.4290144+00:00</Created>
  <Deleted xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2024-10-03T16:39:39.4290144+00:00</Deleted>
  <Guid xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">14733107-80ad-4f6a-897f-93a4ca7d0f42</Guid>
  <Modified xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2024-10-03T16:39:39.4290144+00:00</Modified>
  <Date>2024-10-03T16:39:39.4290144+00:00</Date>
  <Daypart>sample string 2</Daypart>
  <TrainingScheduleGuid>158f4c5e-b778-4b5a-ae80-6efaa4832778</TrainingScheduleGuid>
</TrainingScheduleDateViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

TrainingScheduleDateViewModel
NameDescriptionTypeAdditional information
Date

date

None.

Daypart

string

None.

TrainingScheduleGuid

globally unique identifier

None.

Guid

globally unique identifier

None.

Response Formats

application/json, text/json

Sample:
{
  "Date": "2024-10-03T16:39:39.4290144+00:00",
  "Daypart": "sample string 2",
  "TrainingScheduleGuid": "59d56b3f-a7db-4945-8be9-d3017237202b",
  "Guid": "e5ecf9cf-b5f8-42fb-8595-7043b0417d12",
  "Created": "2024-10-03T16:39:39.4290144+00:00",
  "Modified": "2024-10-03T16:39:39.4290144+00:00",
  "Deleted": "2024-10-03T16:39:39.4290144+00:00",
  "ErrorMessages": {
    "sample string 1": "sample string 2",
    "sample string 3": "sample string 4"
  },
  "IsValid": false
}

application/octet-stream

Sample:
{"Date":"2024-10-03T16:39:39.4290144+00:00","Daypart":"sample string 2","TrainingScheduleGuid":"59d56b3f-a7db-4945-8be9-d3017237202b","Guid":"e5ecf9cf-b5f8-42fb-8595-7043b0417d12","Created":"2024-10-03T16:39:39.4290144+00:00","Modified":"2024-10-03T16:39:39.4290144+00:00","Deleted":"2024-10-03T16:39:39.4290144+00:00","ErrorMessages":{"sample string 1":"sample string 2","sample string 3":"sample string 4"},"IsValid":false}

application/xml, text/xml

Sample:
<TrainingScheduleDateViewModel 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:39:39.4290144+00:00</Created>
  <Deleted xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2024-10-03T16:39:39.4290144+00:00</Deleted>
  <Guid xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">e5ecf9cf-b5f8-42fb-8595-7043b0417d12</Guid>
  <Modified xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2024-10-03T16:39:39.4290144+00:00</Modified>
  <Date>2024-10-03T16:39:39.4290144+00:00</Date>
  <Daypart>sample string 2</Daypart>
  <TrainingScheduleGuid>59d56b3f-a7db-4945-8be9-d3017237202b</TrainingScheduleGuid>
</TrainingScheduleDateViewModel>