Create an ad hoc alert

post

/fscmRestApi/resources/11.13.18.05/publicSectorAdhocAlerts

Request

Header Parameters
  • If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
  • The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
  • When set to true, the server will perform an Upsert operation instead of a Create. In an Upsert operation the server attempts to find an existing resource that matches the payload. If found, the server updates the existing resource instead of creating a new one. If not found, or when set to false (the default), a Create is performed.
Supported Media Types
Request Body - application/json ()
The following table describes the body parameters in the request for this task.
Root Schema : schema
Type: object
Show Source
  • Title: Agency ID
    Default Value: 1
    The unique identifier of the agency associated with the ad hoc alert.
  • Title: Body
    Maximum Length: 1000
    The message body of the ad hoc alert.
  • Title: Alert End Date
    The date and time when the ad hoc alert is no longer active.
  • Title: Alert Start Date
    The date and time when the ad hoc alert becomes active.
  • Title: Comments
    Maximum Length: 1000
    The comments entered by staff while creating the ad hoc alert.
  • Title: Enabled
    Maximum Length: 1
    Default Value: false
    Indicates whether the ad hoc alert is available to be used. The default value is N.
  • Title: Log ID
    A logical identifier for the ad hoc alert. This ID is automatically generated by the application.
  • Title: Record Identifier
    Maximum Length: 100
    The unique identifier of the ad hoc alert.
  • Title: Status
    Maximum Length: 30
    Status of the ad hoc alert.
  • Title: Sent To
    Maximum Length: 1000
    The type of the recipient for the ad hoc alert. Possibe values are Registred Users, Anonymous Users, and Specified Users.
Back to Top

Response

Supported Media Types

Default Response

The following table describes the default response for this task.
Headers
  • If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
  • The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
Body ()
Root Schema : publicSectorAdhocAlerts-item-response
Type: object
Show Source
Back to Top