POST api/entity/person/bulletin/CreateStaffNotification
Request Information
URI Parameters
None.
Body Parameters
CreateStaffNotificationRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| LinkedToPersonID | integer |
None. |
|
| Copy | string |
None. |
|
| CreatedByPersonID | integer |
None. |
|
| PriorityID | integer |
None. |
|
| DelayDays | integer |
None. |
|
| OriginKey | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"LinkedToPersonID": 1,
"Copy": "sample string 2",
"CreatedByPersonID": 3,
"PriorityID": 4,
"DelayDays": 5,
"OriginKey": "sample string 6"
}
application/javascript
Sample:
{"LinkedToPersonID":1,"Copy":"sample string 2","CreatedByPersonID":3,"PriorityID":4,"DelayDays":5,"OriginKey":"sample string 6"}
application/xml, text/xml
Sample:
<CreateStaffNotificationRequest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <LinkedToPersonID>1</LinkedToPersonID> <Copy>sample string 2</Copy> <CreatedByPersonID>3</CreatedByPersonID> <PriorityID>4</PriorityID> <DelayDays>5</DelayDays> <OriginKey>sample string 6</OriginKey> </CreateStaffNotificationRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
WebMethodResultOfCreateStaffNotificationResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Result | CreateStaffNotificationResponse |
None. |
|
| Success | boolean |
None. |
|
| ErrorText | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Result": {
"BulletinID": 1,
"AlreadyExisted": true
},
"Success": true,
"ErrorText": "sample string 2"
}
application/javascript
Sample:
{"Result":{"BulletinID":1,"AlreadyExisted":true},"Success":true,"ErrorText":"sample string 2"}
application/xml, text/xml
Sample:
<WebMethodResultOfCreateStaffNotificationResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Success>true</Success>
<ErrorText>sample string 2</ErrorText>
<Result>
<BulletinID>1</BulletinID>
<AlreadyExisted>true</AlreadyExisted>
</Result>
</WebMethodResultOfCreateStaffNotificationResponse>