POST api/Notifications/SaveNotificationsBlock
Request Information
URI Parameters
None.
Body Parameters
NotificationsBlock| Name | Description | Type | Additional information |
|---|---|---|---|
| NBMID | integer |
None. |
|
| NotificationsID | integer |
None. |
|
| BlockName | string |
None. |
|
| BlockID | integer |
None. |
|
| DistrictID | integer |
None. |
|
| Createdby | integer |
None. |
|
| Updatedby | integer |
None. |
|
| RefreshDateTime | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"NBMID": 1,
"NotificationsID": 2,
"BlockName": "sample string 3",
"BlockID": 4,
"DistrictID": 5,
"Createdby": 6,
"Updatedby": 7,
"RefreshDateTime": "sample string 8"
}
application/xml, text/xml
Sample:
<NotificationsBlock xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AGROMET_Notifications"> <BlockID>4</BlockID> <BlockName>sample string 3</BlockName> <Createdby>6</Createdby> <DistrictID>5</DistrictID> <NBMID>1</NBMID> <NotificationsID>2</NotificationsID> <RefreshDateTime>sample string 8</RefreshDateTime> <Updatedby>7</Updatedby> </NotificationsBlock>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
TransactionDetails| Name | Description | Type | Additional information |
|---|---|---|---|
| IsSuccessful | boolean |
None. |
|
| SuccessMessage | string |
None. |
|
| ErrorMessage | string |
None. |
|
| NewID | integer |
None. |
|
| FileUrl | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"IsSuccessful": true,
"SuccessMessage": "sample string 2",
"ErrorMessage": "sample string 3",
"NewID": 4,
"FileUrl": "sample string 5"
}
application/xml, text/xml
Sample:
<TransactionDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AGROMET_COMMON"> <ErrorMessage>sample string 3</ErrorMessage> <FileUrl>sample string 5</FileUrl> <IsSuccessful>true</IsSuccessful> <NewID>4</NewID> <SuccessMessage>sample string 2</SuccessMessage> </TransactionDetails>