PUT api/OuterGateZone/Update
Request Information
URI Parameters
None.
Body Parameters
ZoneModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Name | string |
Required |
|
| Active | boolean |
None. |
|
| Id | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Name": "sample string 1",
"Active": true,
"Id": 3
}
application/xml, text/xml
Sample:
<ZoneModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/tocode.Plugin.Option.Services.Models"> <Id xmlns="http://schemas.datacontract.org/2004/07/Sv2Code.Services.Model">3</Id> <Active>true</Active> <Name>sample string 1</Name> </ZoneModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
OutComeBaseModelOut| Name | Description | Type | Additional 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>