POST api/Options
Request Information
URI Parameters
None.
Body Parameters
OptionName | Description | Type | Additional information |
---|---|---|---|
RecType | string |
Required String length: inclusive between 0 and 50 |
|
RecValue | string |
Required String length: inclusive between 0 and 300 |
|
AllowEdit | string |
String length: inclusive between 0 and 10 |
|
ID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "RecType": "sample string 1", "RecValue": "sample string 2", "AllowEdit": "sample string 3", "ID": 4 }
application/xml, text/xml
Sample:
<Option xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fabric"> <AllowEdit>sample string 3</AllowEdit> <ID>4</ID> <RecType>sample string 1</RecType> <RecValue>sample string 2</RecValue> </Option>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
OptionName | Description | Type | Additional information |
---|---|---|---|
RecType | string |
Required String length: inclusive between 0 and 50 |
|
RecValue | string |
Required String length: inclusive between 0 and 300 |
|
AllowEdit | string |
String length: inclusive between 0 and 10 |
|
ID | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "RecType": "sample string 1", "RecValue": "sample string 2", "AllowEdit": "sample string 3", "ID": 4 }
application/xml, text/xml
Sample:
<Option xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fabric"> <AllowEdit>sample string 3</AllowEdit> <ID>4</ID> <RecType>sample string 1</RecType> <RecValue>sample string 2</RecValue> </Option>