PUT api/zone/{id}
Save zone with specified id, either creating, or updating model at location
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
zone identifier |
integer |
Required |
Body Parameters
Zone model to be saved
ZoneName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
StoreID | integer |
None. |
|
Name | string |
String length: inclusive between 0 and 20 |
|
IBAStoreCode | string |
String length: inclusive between 0 and 20 |
|
Button1 | string |
String length: inclusive between 0 and 28 |
|
Button2 | string |
String length: inclusive between 0 and 28 |
|
Button3 | string |
String length: inclusive between 0 and 28 |
|
Button4 | string |
String length: inclusive between 0 and 28 |
|
Button5 | string |
String length: inclusive between 0 and 28 |
|
Button6 | string |
String length: inclusive between 0 and 28 |
|
Button7 | string |
String length: inclusive between 0 and 28 |
|
Button8 | string |
String length: inclusive between 0 and 28 |
|
Button9 | string |
String length: inclusive between 0 and 28 |
|
Button10 | string |
String length: inclusive between 0 and 28 |
|
ShowPage1 | boolean |
None. |
|
ShowPage2 | boolean |
None. |
|
ShowPage3 | boolean |
None. |
|
ShowPage4 | boolean |
None. |
|
ShowPage5 | boolean |
None. |
|
ShowPage6 | boolean |
None. |
|
ShowPage7 | boolean |
None. |
|
ShowPage8 | boolean |
None. |
|
ShowPage9 | boolean |
None. |
|
ShowPage10 | boolean |
None. |
|
storeName | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "id": 1, "storeID": 2, "name": "sample string 3", "ibaStoreCode": "sample string 4", "button1": "sample string 5", "button2": "sample string 6", "button3": "sample string 7", "button4": "sample string 8", "button5": "sample string 9", "button6": "sample string 10", "button7": "sample string 11", "button8": "sample string 12", "button9": "sample string 13", "button10": "sample string 14", "showPage1": true, "showPage2": true, "showPage3": true, "showPage4": true, "showPage5": true, "showPage6": true, "showPage7": true, "showPage8": true, "showPage9": true, "showPage10": true, "storeName": "sample string 25" }
application/xml, text/xml
Sample:
<Zone xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EziManager.Models.EMC.Pos.Devices"> <Button1>sample string 5</Button1> <Button10>sample string 14</Button10> <Button2>sample string 6</Button2> <Button3>sample string 7</Button3> <Button4>sample string 8</Button4> <Button5>sample string 9</Button5> <Button6>sample string 10</Button6> <Button7>sample string 11</Button7> <Button8>sample string 12</Button8> <Button9>sample string 13</Button9> <IBAStoreCode>sample string 4</IBAStoreCode> <ID>1</ID> <Name>sample string 3</Name> <ShowPage1>true</ShowPage1> <ShowPage10>true</ShowPage10> <ShowPage2>true</ShowPage2> <ShowPage3>true</ShowPage3> <ShowPage4>true</ShowPage4> <ShowPage5>true</ShowPage5> <ShowPage6>true</ShowPage6> <ShowPage7>true</ShowPage7> <ShowPage8>true</ShowPage8> <ShowPage9>true</ShowPage9> <StoreID>2</StoreID> <storeName>sample string 25</storeName> </Zone>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.