PUT api/Notifications/Put

Request Information

URI Parameters

None.

Body Parameters

Notifications
NameDescriptionTypeAdditional information
notification_id

integer

None.

category_id

integer

None.

authority_id

integer

None.

location_id

integer

None.

subject

string

None.

notification_date

date

None.

notification_details

string

None.

signed_by

string

None.

created_date

date

None.

created_by

string

None.

updated_date

date

None.

updated_by

string

None.

approved_by

string

None.

approved_date

date

None.

notification_file

string

None.

create_ip_address

string

None.

update_ip_address

string

None.

sent_date

date

None.

category_description

string

None.

authority_name

string

None.

location_name

string

None.

user_name

string

None.

status

integer

None.

notification_read

integer

None.

notification_log_id

integer

None.

favourite

integer

None.

understood

integer

None.

notification_details_ar

string

None.

subject_ar

string

None.

Request Formats

application/json, text/json, text/html

Sample:
{
  "notification_id": 1,
  "category_id": 2,
  "authority_id": 3,
  "location_id": 4,
  "subject": "sample string 5",
  "notification_date": "2020-07-12T08:16:28.9857523+03:00",
  "notification_details": "sample string 7",
  "signed_by": "sample string 8",
  "created_date": "2020-07-12T08:16:28.9857523+03:00",
  "created_by": "sample string 10",
  "updated_date": "2020-07-12T08:16:28.9857523+03:00",
  "updated_by": "sample string 12",
  "approved_by": "sample string 13",
  "approved_date": "2020-07-12T08:16:28.9857523+03:00",
  "notification_file": "sample string 15",
  "create_ip_address": "sample string 16",
  "update_ip_address": "sample string 17",
  "sent_date": "2020-07-12T08:16:28.9857523+03:00",
  "category_description": "sample string 19",
  "authority_name": "sample string 20",
  "location_name": "sample string 21",
  "user_name": "sample string 22",
  "status": 23,
  "notification_read": 24,
  "notification_log_id": 25,
  "favourite": 26,
  "understood": 27,
  "notification_details_ar": "sample string 28",
  "subject_ar": "sample string 29"
}

application/xml, text/xml

Sample:
<Notifications xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/circularAPI.Models">
  <approved_by>sample string 13</approved_by>
  <approved_date>2020-07-12T08:16:28.9857523+03:00</approved_date>
  <authority_id>3</authority_id>
  <authority_name>sample string 20</authority_name>
  <category_description>sample string 19</category_description>
  <category_id>2</category_id>
  <create_ip_address>sample string 16</create_ip_address>
  <created_by>sample string 10</created_by>
  <created_date>2020-07-12T08:16:28.9857523+03:00</created_date>
  <favourite>26</favourite>
  <location_id>4</location_id>
  <location_name>sample string 21</location_name>
  <notification_date>2020-07-12T08:16:28.9857523+03:00</notification_date>
  <notification_details>sample string 7</notification_details>
  <notification_details_ar>sample string 28</notification_details_ar>
  <notification_file>sample string 15</notification_file>
  <notification_id>1</notification_id>
  <notification_log_id>25</notification_log_id>
  <notification_read>24</notification_read>
  <sent_date>2020-07-12T08:16:28.9857523+03:00</sent_date>
  <signed_by>sample string 8</signed_by>
  <status>23</status>
  <subject>sample string 5</subject>
  <subject_ar>sample string 29</subject_ar>
  <understood>27</understood>
  <update_ip_address>sample string 17</update_ip_address>
  <updated_by>sample string 12</updated_by>
  <updated_date>2020-07-12T08:16:28.9857523+03:00</updated_date>
  <user_name>sample string 22</user_name>
</Notifications>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

integer

Response Formats

application/json, text/json, text/html

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>