PUT v1/TrainingType
Request Information
URI Parameters
None.
Body Parameters
TrainingTypeViewModelName | Description | Type | Additional information |
---|---|---|---|
Name | string |
None. |
|
Description | string |
None. |
|
TrainingGuid | globally unique identifier |
None. |
|
Guid | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "Name": "sample string 1", "Description": "sample string 2", "TrainingGuid": "0f522aa7-8922-4c9d-b1ce-fb207f4c99f8", "Guid": "7c4a2837-97e6-45cb-802d-a541889781c5", "Created": "2025-09-13T04:49:31.5401351+00:00", "Modified": "2025-09-13T04:49:31.5401351+00:00", "Deleted": "2025-09-13T04:49:31.5401351+00:00", "ErrorMessages": { "sample string 1": "sample string 2", "sample string 3": "sample string 4" }, "IsValid": false }
application/octet-stream
Sample:
{"Name":"sample string 1","Description":"sample string 2","TrainingGuid":"0f522aa7-8922-4c9d-b1ce-fb207f4c99f8","Guid":"7c4a2837-97e6-45cb-802d-a541889781c5","Created":"2025-09-13T04:49:31.5401351+00:00","Modified":"2025-09-13T04:49:31.5401351+00:00","Deleted":"2025-09-13T04:49:31.5401351+00:00","ErrorMessages":{"sample string 1":"sample string 2","sample string 3":"sample string 4"},"IsValid":false}
application/xml, text/xml
Sample:
<TrainingTypeViewModel 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">2025-09-13T04:49:31.5401351+00:00</Created> <Deleted xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2025-09-13T04:49:31.5401351+00:00</Deleted> <Guid xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">7c4a2837-97e6-45cb-802d-a541889781c5</Guid> <Modified xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2025-09-13T04:49:31.5401351+00:00</Modified> <Description>sample string 2</Description> <Name>sample string 1</Name> <TrainingGuid>0f522aa7-8922-4c9d-b1ce-fb207f4c99f8</TrainingGuid> </TrainingTypeViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
TrainingTypeViewModelName | Description | Type | Additional information |
---|---|---|---|
Name | string |
None. |
|
Description | string |
None. |
|
TrainingGuid | globally unique identifier |
None. |
|
Guid | globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
{ "Name": "sample string 1", "Description": "sample string 2", "TrainingGuid": "74e72394-7004-40b9-8441-29e99cc8c046", "Guid": "16958052-1303-4381-9afc-75fe413e2575", "Created": "2025-09-13T04:49:31.5401351+00:00", "Modified": "2025-09-13T04:49:31.5401351+00:00", "Deleted": "2025-09-13T04:49:31.5401351+00:00", "ErrorMessages": { "sample string 1": "sample string 2", "sample string 3": "sample string 4" }, "IsValid": false }
application/octet-stream
Sample:
{"Name":"sample string 1","Description":"sample string 2","TrainingGuid":"74e72394-7004-40b9-8441-29e99cc8c046","Guid":"16958052-1303-4381-9afc-75fe413e2575","Created":"2025-09-13T04:49:31.5401351+00:00","Modified":"2025-09-13T04:49:31.5401351+00:00","Deleted":"2025-09-13T04:49:31.5401351+00:00","ErrorMessages":{"sample string 1":"sample string 2","sample string 3":"sample string 4"},"IsValid":false}
application/xml, text/xml
Sample:
<TrainingTypeViewModel 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">2025-09-13T04:49:31.5401351+00:00</Created> <Deleted xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2025-09-13T04:49:31.5401351+00:00</Deleted> <Guid xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">16958052-1303-4381-9afc-75fe413e2575</Guid> <Modified xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2025-09-13T04:49:31.5401351+00:00</Modified> <Description>sample string 2</Description> <Name>sample string 1</Name> <TrainingGuid>74e72394-7004-40b9-8441-29e99cc8c046</TrainingGuid> </TrainingTypeViewModel>