POST api/OuterGateZone/Create

Request Information

URI Parameters

None.

Body Parameters

OuterZoneModelIn
NameDescriptionTypeAdditional information
Name

string

Required

Active

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Name": "sample string 1",
  "Active": true
}

application/xml, text/xml

Sample:
<OuterZoneModelIn xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/tocode.CodePlast.CommonModels.Models.Zone">
  <Active>true</Active>
  <Name>sample string 1</Name>
</OuterZoneModelIn>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

OutComeBaseModelOut
NameDescriptionTypeAdditional information
NewIdentifier

integer

None.

Warning

boolean

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "NewIdentifier": 1,
  "Warning": true,
  "Message": "sample string 2"
}

application/xml, text/xml

Sample:
<OutComeBaseModelOut xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/tocode.CodePlast.CommonModels.Models">
  <Message>sample string 2</Message>
  <NewIdentifier>1</NewIdentifier>
  <Warning>true</Warning>
</OutComeBaseModelOut>