POST api/v1/general/operators/operator
Request Information
URI Parameters
None.
Body Parameters
OperatorModel| Name | Description | Type | Additional 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:
Response Information
Resource Description
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<long xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</long>