POST api/v1/general/operators/operator

Request Information

URI Parameters

None.

Body Parameters

OperatorModel
NameDescriptionTypeAdditional information
Id

integer

Required

Name

string

Required

Max length: 100

AccountExternalId

globally unique identifier

Required

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Name": "sample string 2",
  "AccountExternalId": "03ff222d-9baf-4637-a9c2-2ca8a15157e6"
}

application/xml, text/xml

Sample:
<OperatorModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Emalogic.Conservatory.Common.Models">
  <AccountExternalId>03ff222d-9baf-4637-a9c2-2ca8a15157e6</AccountExternalId>
  <Id>1</Id>
  <Name>sample string 2</Name>
</OperatorModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'OperatorModel'.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<long xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</long>