POST api/priceBook/MyAccount/OperatorPreferanceSave
Request Information
URI Parameters
None.
Body Parameters
Collection of OperatorPreference| Name | Description | Type | Additional information |
|---|---|---|---|
| keyName | string |
None. |
|
| keyValue | string |
None. |
|
| userId | integer |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"keyName": "sample string 1",
"keyValue": "sample string 2",
"userId": 3
},
{
"keyName": "sample string 1",
"keyValue": "sample string 2",
"userId": 3
}
]
application/xml, text/xml
Sample:
<ArrayOfOperatorPreference xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SkyERP.BusinessEntity">
<OperatorPreference>
<keyName>sample string 1</keyName>
<keyValue>sample string 2</keyValue>
<userId>3</userId>
</OperatorPreference>
<OperatorPreference>
<keyName>sample string 1</keyName>
<keyValue>sample string 2</keyValue>
<userId>3</userId>
</OperatorPreference>
</ArrayOfOperatorPreference>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
BoolSaveResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| saveStatus | SaveStatus |
None. |
|
| SaveDone | boolean |
None. |
|
| iRecordId | integer |
None. |
|
| MyProperty | Object |
None. |
|
| TaskPointDateTimeStr | Dictionary of string [key] and string [value] |
None. |
|
| status | integer |
None. |
|
| message | string |
None. |
|
| hasError | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"saveStatus": 1,
"SaveDone": true,
"iRecordId": 1,
"MyProperty": {},
"TaskPointDateTimeStr": {
"sample string 1": "sample string 2",
"sample string 3": "sample string 4"
},
"status": 3,
"message": "sample string 4",
"hasError": true
}
application/xml, text/xml
Sample:
<BoolSaveResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SkyERP.BusinessEntity">
<hasError>true</hasError>
<message>sample string 4</message>
<status>3</status>
<MyProperty />
<TaskPointDateTimeStr xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:KeyValueOfstringstring>
<d2p1:Key>sample string 1</d2p1:Key>
<d2p1:Value>sample string 2</d2p1:Value>
</d2p1:KeyValueOfstringstring>
<d2p1:KeyValueOfstringstring>
<d2p1:Key>sample string 3</d2p1:Key>
<d2p1:Value>sample string 4</d2p1:Value>
</d2p1:KeyValueOfstringstring>
</TaskPointDateTimeStr>
<iRecordId>1</iRecordId>
<saveStatus>AddNew</saveStatus>
</BoolSaveResponse>