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. |
|
| Key | globally unique identifier |
None. |
|
| RequiredFields | Collection of FieldInfo |
None. |
Request Formats
application/json, text/json
Sample:
{
"OptionType": 0,
"DisplayName": "sample string 1",
"Key": "9bd2c513-76e7-460e-b5d6-7857de7ca932",
"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
}
]
}
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>
<Key>9bd2c513-76e7-460e-b5d6-7857de7ca932</Key>
<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>
</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>