POST Attendants

Creates a new attendant.

Request Information

URI Parameters

None.

Body Parameters

The data of the attendant.

AttendantDto
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

IdNetwork

globally unique identifier

None.

Code

string

None.

Name

string

None.

SitesList

Collection of AttendantSiteDto

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "4a787559-522c-487c-b32f-b6ad6fc1b463",
  "IdNetwork": "d0216124-9cf9-4b44-9b22-827180843b04",
  "Code": "sample string 3",
  "Name": "sample string 4",
  "SitesList": [
    {
      "Id": "005255dd-27f5-406d-85ba-10293e8112df",
      "Code": "sample string 2",
      "Name": "sample string 3",
      "ShortName": "sample string 4"
    },
    {
      "Id": "005255dd-27f5-406d-85ba-10293e8112df",
      "Code": "sample string 2",
      "Name": "sample string 3",
      "ShortName": "sample string 4"
    }
  ]
}

application/xml, text/xml

Sample:
<AttendantDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ationet.Model">
  <Code>sample string 3</Code>
  <Id>4a787559-522c-487c-b32f-b6ad6fc1b463</Id>
  <IdNetwork>d0216124-9cf9-4b44-9b22-827180843b04</IdNetwork>
  <Name>sample string 4</Name>
  <SitesList>
    <AttendantSiteDto>
      <Code>sample string 2</Code>
      <Id>005255dd-27f5-406d-85ba-10293e8112df</Id>
      <Name>sample string 3</Name>
      <ShortName>sample string 4</ShortName>
    </AttendantSiteDto>
    <AttendantSiteDto>
      <Code>sample string 2</Code>
      <Id>005255dd-27f5-406d-85ba-10293e8112df</Id>
      <Name>sample string 3</Name>
      <ShortName>sample string 4</ShortName>
    </AttendantSiteDto>
  </SitesList>
</AttendantDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

State of the action, and if created returns the attendant as Attendant and the link to the attendant.

AttendantDto
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

IdNetwork

globally unique identifier

None.

Code

string

None.

Name

string

None.

SitesList

Collection of AttendantSiteDto

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": "ee901160-7935-4a9d-95e1-91683ef2840a",
  "IdNetwork": "cf88c14d-5ef2-470d-a1ce-f2130fa7f5b4",
  "Code": "sample string 3",
  "Name": "sample string 4",
  "SitesList": [
    {
      "Id": "b3f4685e-ac0d-4775-bf19-2d31ab40b96d",
      "Code": "sample string 2",
      "Name": "sample string 3",
      "ShortName": "sample string 4"
    },
    {
      "Id": "b3f4685e-ac0d-4775-bf19-2d31ab40b96d",
      "Code": "sample string 2",
      "Name": "sample string 3",
      "ShortName": "sample string 4"
    }
  ]
}

application/xml, text/xml

Sample:
<AttendantDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ationet.Model">
  <Code>sample string 3</Code>
  <Id>ee901160-7935-4a9d-95e1-91683ef2840a</Id>
  <IdNetwork>cf88c14d-5ef2-470d-a1ce-f2130fa7f5b4</IdNetwork>
  <Name>sample string 4</Name>
  <SitesList>
    <AttendantSiteDto>
      <Code>sample string 2</Code>
      <Id>b3f4685e-ac0d-4775-bf19-2d31ab40b96d</Id>
      <Name>sample string 3</Name>
      <ShortName>sample string 4</ShortName>
    </AttendantSiteDto>
    <AttendantSiteDto>
      <Code>sample string 2</Code>
      <Id>b3f4685e-ac0d-4775-bf19-2d31ab40b96d</Id>
      <Name>sample string 3</Name>
      <ShortName>sample string 4</ShortName>
    </AttendantSiteDto>
  </SitesList>
</AttendantDto>