Post Notices

Post notices to the database

POST /api/.../notices/post?noticeType={notificationtypeid}&deliveryOption={deliveryoptionid}

Request Information

Parameters
Name Type Required Description
noticeType Integer Yes ID of the Notification Type
deliveryOption Integer Yes ID of the DeliveryOption. Only valid value is Mail (1).
Request body
Example of OrganizationID string for multiple organizations
application/json, text/json
    "3,5,7"
    

Response Information

Returns true if update is successful, otherwise false.
Success Example
application/json, text/json
    true
    
Failure Example
application/json, text/json
    false
    

HTTP Response Codes

Code Description
200 OK. Success
400 FAILURE.
  • Bad request
  • Invalid noticeType
  • Invalid deliveryOption