POST v1/Training/{id}/CopyLinked

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

TrainingViewModel
NameDescriptionTypeAdditional information
Name

string

None.

Subtitle

string

None.

Price

decimal number

None.

PriceOnRequest

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.

Guid

globally unique identifier

None.

Created

date

None.

Modified

date

None.

Deleted

date

None.

ErrorMessages

Dictionary of string [key] and string [value]

None.

IsValid

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Name": "sample string 1",
  "Subtitle": "sample string 2",
  "Price": 3.0,
  "PriceOnRequest": true,
  "Continuous": true,
  "NumberOfDays": "sample string 6",
  "AzavistaLink": "sample string 7",
  "MaxNumberOfRegistrations": 8,
  "Rating": 9.0,
  "ParentGuid": "64721cbc-a958-4f6d-abce-1fadadfa6a1c",
  "TrainingThemes": null,
  "TrainingTypes": null,
  "Guid": "f4bb3aff-068c-4b44-a40a-5a563907667b",
  "Created": "2019-10-14T14:29:11.7992893+00:00",
  "Modified": "2019-10-14T14:29:11.7992893+00:00",
  "Deleted": "2019-10-14T14:29:11.7992893+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,"Continuous":true,"NumberOfDays":"sample string 6","AzavistaLink":"sample string 7","MaxNumberOfRegistrations":8,"Rating":9.0,"ParentGuid":"64721cbc-a958-4f6d-abce-1fadadfa6a1c","TrainingThemes":null,"TrainingTypes":null,"Guid":"f4bb3aff-068c-4b44-a40a-5a563907667b","Created":"2019-10-14T14:29:11.7992893+00:00","Modified":"2019-10-14T14:29:11.7992893+00:00","Deleted":"2019-10-14T14:29:11.7992893+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">2019-10-14T14:29:11.7992893+00:00</Created>
  <Deleted xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2019-10-14T14:29:11.7992893+00:00</Deleted>
  <Guid xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">f4bb3aff-068c-4b44-a40a-5a563907667b</Guid>
  <Modified xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2019-10-14T14:29:11.7992893+00:00</Modified>
  <AzavistaLink>sample string 7</AzavistaLink>
  <Continuous>true</Continuous>
  <MaxNumberOfRegistrations>8</MaxNumberOfRegistrations>
  <Name>sample string 1</Name>
  <NumberOfDays>sample string 6</NumberOfDays>
  <ParentGuid>64721cbc-a958-4f6d-abce-1fadadfa6a1c</ParentGuid>
  <Price>3</Price>
  <PriceOnRequest>true</PriceOnRequest>
  <Rating>9</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" />
</TrainingViewModel>