POST api/ESSystem/v1/Notification/Notify
Request Information
URI Parameters
None.
Body Parameters
NotifyOption| Name | Description | Type | Additional information |
|---|---|---|---|
| OptionType | OptionType |
None. |
|
| DisplayName | string |
None. |
|
| Keys |
Counter key(s) for the operation. Server templates expose an empty list; clients POST one or more GUIDs (up to ). |
Collection of globally unique identifier |
None. |
| MaxCount |
Maximum number of values allowed in for this option. Default 50; uses 1. |
integer |
None. |
| RequiredFields | Collection of FieldInfo |
None. |
|
| ReturnType | ReturnType |
None. |
Request Formats
application/json, text/json
Sample:
{
"OptionType": 0,
"DisplayName": "sample string 1",
"Keys": [
"9e89b338-368a-482a-b950-e4d5dcda18b2",
"a15536a1-6e2b-4db4-a15a-c971a046dbe1"
],
"MaxCount": 2,
"RequiredFields": [
{
"FieldName": "sample string 1",
"Label": "sample string 2",
"DataType": "sample string 3",
"Required": true
},
{
"FieldName": "sample string 1",
"Label": "sample string 2",
"DataType": "sample string 3",
"Required": true
}
],
"ReturnType": 0
}
application/xml, text/xml
Sample:
<NotifyOption xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models">
<DisplayName>sample string 1</DisplayName>
<Keys xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>9e89b338-368a-482a-b950-e4d5dcda18b2</d2p1:guid>
<d2p1:guid>a15536a1-6e2b-4db4-a15a-c971a046dbe1</d2p1:guid>
</Keys>
<MaxCount>2</MaxCount>
<OptionType>SendLastBill</OptionType>
<RequiredFields>
<FieldInfo>
<DataType>sample string 3</DataType>
<FieldName>sample string 1</FieldName>
<Label>sample string 2</Label>
<Required>true</Required>
</FieldInfo>
<FieldInfo>
<DataType>sample string 3</DataType>
<FieldName>sample string 1</FieldName>
<Label>sample string 2</Label>
<Required>true</Required>
</FieldInfo>
</RequiredFields>
<ReturnType>Nothing</ReturnType>
</NotifyOption>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ApiResult| Name | Description | Type | Additional information |
|---|---|---|---|
| Error | integer |
None. |
|
| Message | string |
None. |
|
| Data | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"Error": 1,
"Message": "sample string 2",
"Data": {}
}
application/xml, text/xml
Sample:
<ApiResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Core.Common"> <Data /> <Error>1</Error> <Message>sample string 2</Message> </ApiResult>