POST v1/Training
Request Information
URI Parameters
None.
Body Parameters
TrainingViewModelName | Description | Type | Additional information |
---|---|---|---|
Name | string |
None. |
|
Subtitle | string |
None. |
|
Price | decimal number |
None. |
|
PriceOnRequest | boolean |
None. |
|
PricePerSchedule | boolean |
None. |
|
Continuous | boolean |
None. |
|
NumberOfDays | string |
None. |
|
AzavistaLink | string |
None. |
|
MaxNumberOfRegistrations | integer |
None. |
|
Rating | decimal number |
None. |
|
ParentGuid | globally unique identifier |
None. |
|
TrainingThemes | Collection of GuidName |
None. |
|
TrainingTypes | Collection of GuidName |
None. |
|
OpenGraphTitle | string |
None. |
|
OpenGraphDescription | string |
None. |
|
VNGDescription | string |
None. |
|
VNGThemes | Collection of GuidName |
None. |
|
Publish | boolean |
None. |
|
Guid | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "Name": "sample string 1", "Subtitle": "sample string 2", "Price": 3.0, "PriceOnRequest": true, "PricePerSchedule": true, "Continuous": true, "NumberOfDays": "sample string 7", "AzavistaLink": "sample string 8", "MaxNumberOfRegistrations": 9, "Rating": 10.0, "ParentGuid": "960259de-799e-4eba-9c16-02c0a17200a5", "TrainingThemes": null, "TrainingTypes": null, "OpenGraphTitle": "sample string 11", "OpenGraphDescription": "sample string 12", "VNGDescription": "sample string 13", "VNGThemes": null, "Publish": true, "Guid": "a3f31c2a-ec92-4568-be5c-91a0b1d54e8a", "Created": "2024-11-20T17:38:01.6660039+00:00", "Modified": "2024-11-20T17:38:01.6660039+00:00", "Deleted": "2024-11-20T17:38:01.6660039+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","Subtitle":"sample string 2","Price":3.0,"PriceOnRequest":true,"PricePerSchedule":true,"Continuous":true,"NumberOfDays":"sample string 7","AzavistaLink":"sample string 8","MaxNumberOfRegistrations":9,"Rating":10.0,"ParentGuid":"960259de-799e-4eba-9c16-02c0a17200a5","TrainingThemes":null,"TrainingTypes":null,"OpenGraphTitle":"sample string 11","OpenGraphDescription":"sample string 12","VNGDescription":"sample string 13","VNGThemes":null,"Publish":true,"Guid":"a3f31c2a-ec92-4568-be5c-91a0b1d54e8a","Created":"2024-11-20T17:38:01.6660039+00:00","Modified":"2024-11-20T17:38:01.6660039+00:00","Deleted":"2024-11-20T17:38:01.6660039+00:00","ErrorMessages":{"sample string 1":"sample string 2","sample string 3":"sample string 4"},"IsValid":false}
application/xml, text/xml
Sample:
<TrainingViewModel 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-11-20T17:38:01.6660039+00:00</Created> <Deleted xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2024-11-20T17:38:01.6660039+00:00</Deleted> <Guid xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">a3f31c2a-ec92-4568-be5c-91a0b1d54e8a</Guid> <Modified xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2024-11-20T17:38:01.6660039+00:00</Modified> <AzavistaLink>sample string 8</AzavistaLink> <Continuous>true</Continuous> <MaxNumberOfRegistrations>9</MaxNumberOfRegistrations> <Name>sample string 1</Name> <NumberOfDays>sample string 7</NumberOfDays> <OpenGraphDescription>sample string 12</OpenGraphDescription> <OpenGraphTitle>sample string 11</OpenGraphTitle> <ParentGuid>960259de-799e-4eba-9c16-02c0a17200a5</ParentGuid> <Price>3</Price> <PriceOnRequest>true</PriceOnRequest> <PricePerSchedule>true</PricePerSchedule> <Publish>true</Publish> <Rating>10</Rating> <Subtitle>sample string 2</Subtitle> <TrainingThemes xmlns:d2p1="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services.Common" i:nil="true" /> <TrainingTypes xmlns:d2p1="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services.Common" i:nil="true" /> <VNGDescription>sample string 13</VNGDescription> <VNGThemes xmlns:d2p1="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services.Common" i:nil="true" /> </TrainingViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
TrainingViewModelName | Description | Type | Additional information |
---|---|---|---|
Name | string |
None. |
|
Subtitle | string |
None. |
|
Price | decimal number |
None. |
|
PriceOnRequest | boolean |
None. |
|
PricePerSchedule | boolean |
None. |
|
Continuous | boolean |
None. |
|
NumberOfDays | string |
None. |
|
AzavistaLink | string |
None. |
|
MaxNumberOfRegistrations | integer |
None. |
|
Rating | decimal number |
None. |
|
ParentGuid | globally unique identifier |
None. |
|
TrainingThemes | Collection of GuidName |
None. |
|
TrainingTypes | Collection of GuidName |
None. |
|
OpenGraphTitle | string |
None. |
|
OpenGraphDescription | string |
None. |
|
VNGDescription | string |
None. |
|
VNGThemes | Collection of GuidName |
None. |
|
Publish | boolean |
None. |
|
Guid | globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
{ "Name": "sample string 1", "Subtitle": "sample string 2", "Price": 3.0, "PriceOnRequest": true, "PricePerSchedule": true, "Continuous": true, "NumberOfDays": "sample string 7", "AzavistaLink": "sample string 8", "MaxNumberOfRegistrations": 9, "Rating": 10.0, "ParentGuid": "4035197d-efb5-47c2-86e7-10394cc78934", "TrainingThemes": null, "TrainingTypes": null, "OpenGraphTitle": "sample string 11", "OpenGraphDescription": "sample string 12", "VNGDescription": "sample string 13", "VNGThemes": null, "Publish": true, "Guid": "0d19e18b-2a6e-40bf-affc-f7f129f92a6d", "Created": "2024-11-20T17:38:01.6660039+00:00", "Modified": "2024-11-20T17:38:01.6660039+00:00", "Deleted": "2024-11-20T17:38:01.6660039+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","Subtitle":"sample string 2","Price":3.0,"PriceOnRequest":true,"PricePerSchedule":true,"Continuous":true,"NumberOfDays":"sample string 7","AzavistaLink":"sample string 8","MaxNumberOfRegistrations":9,"Rating":10.0,"ParentGuid":"4035197d-efb5-47c2-86e7-10394cc78934","TrainingThemes":null,"TrainingTypes":null,"OpenGraphTitle":"sample string 11","OpenGraphDescription":"sample string 12","VNGDescription":"sample string 13","VNGThemes":null,"Publish":true,"Guid":"0d19e18b-2a6e-40bf-affc-f7f129f92a6d","Created":"2024-11-20T17:38:01.6660039+00:00","Modified":"2024-11-20T17:38:01.6660039+00:00","Deleted":"2024-11-20T17:38:01.6660039+00:00","ErrorMessages":{"sample string 1":"sample string 2","sample string 3":"sample string 4"},"IsValid":false}
application/xml, text/xml
Sample:
<TrainingViewModel 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-11-20T17:38:01.6660039+00:00</Created> <Deleted xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2024-11-20T17:38:01.6660039+00:00</Deleted> <Guid xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">0d19e18b-2a6e-40bf-affc-f7f129f92a6d</Guid> <Modified xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2024-11-20T17:38:01.6660039+00:00</Modified> <AzavistaLink>sample string 8</AzavistaLink> <Continuous>true</Continuous> <MaxNumberOfRegistrations>9</MaxNumberOfRegistrations> <Name>sample string 1</Name> <NumberOfDays>sample string 7</NumberOfDays> <OpenGraphDescription>sample string 12</OpenGraphDescription> <OpenGraphTitle>sample string 11</OpenGraphTitle> <ParentGuid>4035197d-efb5-47c2-86e7-10394cc78934</ParentGuid> <Price>3</Price> <PriceOnRequest>true</PriceOnRequest> <PricePerSchedule>true</PricePerSchedule> <Publish>true</Publish> <Rating>10</Rating> <Subtitle>sample string 2</Subtitle> <TrainingThemes xmlns:d2p1="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services.Common" i:nil="true" /> <TrainingTypes xmlns:d2p1="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services.Common" i:nil="true" /> <VNGDescription>sample string 13</VNGDescription> <VNGThemes xmlns:d2p1="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services.Common" i:nil="true" /> </TrainingViewModel>