POST v1/TrainerTraining
Request Information
URI Parameters
None.
Body Parameters
TrainerTrainingViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Visible | boolean |
None. |
|
| FollowingNumber | integer |
None. |
|
| Text | string |
None. |
|
| Anonymize | boolean |
None. |
|
| PersonGuid | globally unique identifier |
None. |
|
| TrainingGuid | globally unique identifier |
None. |
|
| Guid | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"Visible": true,
"FollowingNumber": 2,
"Text": "sample string 3",
"Anonymize": true,
"PersonGuid": "b27c897c-9f59-4fcf-9a3f-0d966236c524",
"TrainingGuid": "4599e990-d26e-4847-a5ed-f5b4d8123aa0",
"Guid": "befcf3e1-89b6-4adf-8d49-3dbb030f9d1a",
"Created": "2026-05-23T07:01:22.9744507+00:00",
"Modified": "2026-05-23T07:01:22.9744507+00:00",
"Deleted": "2026-05-23T07:01:22.9744507+00:00",
"ErrorMessages": {
"sample string 1": "sample string 2",
"sample string 3": "sample string 4"
},
"IsValid": false
}
application/octet-stream
Sample:
{"Visible":true,"FollowingNumber":2,"Text":"sample string 3","Anonymize":true,"PersonGuid":"b27c897c-9f59-4fcf-9a3f-0d966236c524","TrainingGuid":"4599e990-d26e-4847-a5ed-f5b4d8123aa0","Guid":"befcf3e1-89b6-4adf-8d49-3dbb030f9d1a","Created":"2026-05-23T07:01:22.9744507+00:00","Modified":"2026-05-23T07:01:22.9744507+00:00","Deleted":"2026-05-23T07:01:22.9744507+00:00","ErrorMessages":{"sample string 1":"sample string 2","sample string 3":"sample string 4"},"IsValid":false}
application/xml, text/xml
Sample:
<TrainerTrainingViewModel 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">2026-05-23T07:01:22.9744507+00:00</Created>
<Deleted xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2026-05-23T07:01:22.9744507+00:00</Deleted>
<Guid xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">befcf3e1-89b6-4adf-8d49-3dbb030f9d1a</Guid>
<Modified xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2026-05-23T07:01:22.9744507+00:00</Modified>
<Anonymize>true</Anonymize>
<FollowingNumber>2</FollowingNumber>
<PersonGuid>b27c897c-9f59-4fcf-9a3f-0d966236c524</PersonGuid>
<Text>sample string 3</Text>
<TrainingGuid>4599e990-d26e-4847-a5ed-f5b4d8123aa0</TrainingGuid>
<Visible>true</Visible>
</TrainerTrainingViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
TrainerTrainingViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Visible | boolean |
None. |
|
| FollowingNumber | integer |
None. |
|
| Text | string |
None. |
|
| Anonymize | boolean |
None. |
|
| PersonGuid | globally unique identifier |
None. |
|
| TrainingGuid | globally unique identifier |
None. |
|
| Guid | globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
{
"Visible": true,
"FollowingNumber": 2,
"Text": "sample string 3",
"Anonymize": true,
"PersonGuid": "18819f3e-b063-40cc-b949-53eb0ca05f51",
"TrainingGuid": "5f194616-e204-43ee-b5f0-cacb648ea585",
"Guid": "ef529146-6618-4640-8d11-61bfa445b813",
"Created": "2026-05-23T07:01:22.9744507+00:00",
"Modified": "2026-05-23T07:01:22.9744507+00:00",
"Deleted": "2026-05-23T07:01:22.9744507+00:00",
"ErrorMessages": {
"sample string 1": "sample string 2",
"sample string 3": "sample string 4"
},
"IsValid": false
}
application/octet-stream
Sample:
{"Visible":true,"FollowingNumber":2,"Text":"sample string 3","Anonymize":true,"PersonGuid":"18819f3e-b063-40cc-b949-53eb0ca05f51","TrainingGuid":"5f194616-e204-43ee-b5f0-cacb648ea585","Guid":"ef529146-6618-4640-8d11-61bfa445b813","Created":"2026-05-23T07:01:22.9744507+00:00","Modified":"2026-05-23T07:01:22.9744507+00:00","Deleted":"2026-05-23T07:01:22.9744507+00:00","ErrorMessages":{"sample string 1":"sample string 2","sample string 3":"sample string 4"},"IsValid":false}
application/xml, text/xml
Sample:
<TrainerTrainingViewModel 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">2026-05-23T07:01:22.9744507+00:00</Created>
<Deleted xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2026-05-23T07:01:22.9744507+00:00</Deleted>
<Guid xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">ef529146-6618-4640-8d11-61bfa445b813</Guid>
<Modified xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2026-05-23T07:01:22.9744507+00:00</Modified>
<Anonymize>true</Anonymize>
<FollowingNumber>2</FollowingNumber>
<PersonGuid>18819f3e-b063-40cc-b949-53eb0ca05f51</PersonGuid>
<Text>sample string 3</Text>
<TrainingGuid>5f194616-e204-43ee-b5f0-cacb648ea585</TrainingGuid>
<Visible>true</Visible>
</TrainerTrainingViewModel>