Create an ad hoc communication request
post
/fscmRestApi/resources/11.13.18.05/publicSectorAdhocCommunications
Request
Header Parameters
-
Metadata-Context:
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".
-
REST-Framework-Version:
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.
Supported Media Types
- application/json
The following table describes the body parameters in the request for this task.
Root Schema : schema
Type:
Show Source
object-
AgencyId: integer
(int32)
Default Value:
1The unique identifier of the agency associated with the ad hoc communication. -
BccAddress: string
The blind carbon copy to (Bcc) address for the email of the ad hoc communication request.
-
Body: string
The body of the ad hoc communication request.
-
CcAddress: string
The carbon copy (Cc) address for the email of the ad hoc communication request.
-
EmailToAddress: string
The user IDs of the ad hoc email's primary recipients.
-
EventId: integer
(int64)
Title:
Event IDThe unique identifier for the communication event. -
FromAddress: string
The sender address of the ad hoc communication request.
-
Log: string
(byte)
The communication ad hoc communication request error details.
-
LogId: integer
(int64)
Title:
Log IDThe unique identifier for the communication ad hoc communication request. This ID is automatically generated by the application. -
LogMsgAttData: string
The attachment details attached to the communication.
-
MessageDeleteAllowed: boolean
Indicates that a user can delete this message from their notification list. The default value is false.
-
MimeType: string
The MIME type of the ad hoc notification message. The possible values are HTML and Text.
-
NotificationToAddress: string
The user IDs of the ad hoc notification's primary recipients.
-
ObjectVersionNumber: integer
(int32)
The version of the communication request.
-
PayloadData: string
The data payload provided with the ad hoc communication request.
-
PreferredLanguage: string
The language used for the communication message.
-
Priority: string
The priority of the message for notification.
-
RecordFifthKeyName: string
Title:
Record Fifth Key NameMaximum Length:32The fifth key name of the communication resource associated with the event. -
RecordFifthKeyValue: string
Title:
Record Fifth Key ValueMaximum Length:100The fifth key value of the communication resource associated with the event. -
RecordFirstKeyName: string
Title:
Record First Key NameMaximum Length:32The first key name of the communication resource associated with the event. -
RecordFirstKeyValue: string
Title:
Record First Key ValueMaximum Length:100The first key value of the communication resource associated with the event. -
RecordFourthKeyName: string
Title:
Record Fourth Key NameMaximum Length:32The fourth key name of the communication resource associated with the event. -
RecordFourthKeyValue: string
Title:
Record Fourth Key ValueMaximum Length:100The fourth key value of the communication resource associated with the event. -
RecordIdentifier: string
Title:
Record IdentifierMaximum Length:100The communication request identifier passed through the communication request. -
RecordSecondKeyName: string
Title:
Record Second Key NameMaximum Length:32The second key name of the communication resource associated with the event. -
RecordSecondKeyValue: string
Title:
Record Second Key ValueMaximum Length:100The second key value of the communication resource associated with the event. -
RecordSubIdentifier: string
Title:
Record Sub IdentifierMaximum Length:100The communication request sub identifier passed through the communication request. -
RecordThirdKeyName: string
Title:
Record Third Key NameMaximum Length:32The third key name of the communication resource associated with the event. -
RecordThirdKeyValue: string
Title:
Record Third Key ValueMaximum Length:100The third key value of the communication resource associated with the event. -
ResourceEndPoint: string
The communication resource REST endpoint for generating data payload to replace parameters from the ad hoc communication request.
-
RunEnd: string
(date-time)
The date and time when the ad hoc communication was deleted.
-
RunStart: string
(date-time)
The date and time when the ad hoc communication was created.
-
Status: string
Title:
StatusMaximum Length:30The status of the ad hoc communication request. -
Subject: string
The subject of the ad hoc communication request.
-
Visibility: string
The visibility option of the ad hoc communication request.
-
WebFormData: string
The web form details attached to the communication request.
Response
Supported Media Types
- application/json
Default Response
The following table describes the default response for this task.
Headers
-
Metadata-Context(required):
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".
-
REST-Framework-Version(required):
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.
Root Schema : publicSectorAdhocCommunications-item-response
Type:
Show Source
object-
AgencyId: integer
(int32)
Default Value:
1The unique identifier of the agency associated with the ad hoc communication. -
BccAddress: string
The blind carbon copy to (Bcc) address for the email of the ad hoc communication request.
-
Body: string
The body of the ad hoc communication request.
-
CcAddress: string
The carbon copy (Cc) address for the email of the ad hoc communication request.
-
CreationDate: string
(date-time)
Read Only:
trueThe date and time when the ad hoc communication request was created. -
EmailToAddress: string
The user IDs of the ad hoc email's primary recipients.
-
EventId: integer
(int64)
Title:
Event IDThe unique identifier for the communication event. -
FromAddress: string
The sender address of the ad hoc communication request.
-
LastUpdateDate: string
(date-time)
Read Only:
trueThe date when the ad hoc communication request was last updated. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
Log: string
(byte)
The communication ad hoc communication request error details.
-
LogId: integer
(int64)
Title:
Log IDThe unique identifier for the communication ad hoc communication request. This ID is automatically generated by the application. -
LogMsgAttData: string
The attachment details attached to the communication.
-
MessageDeleteAllowed: boolean
Indicates that a user can delete this message from their notification list. The default value is false.
-
MimeType: string
The MIME type of the ad hoc notification message. The possible values are HTML and Text.
-
NotificationToAddress: string
The user IDs of the ad hoc notification's primary recipients.
-
ObjectVersionNumber: integer
(int32)
The version of the communication request.
-
PayloadData: string
The data payload provided with the ad hoc communication request.
-
PreferredLanguage: string
The language used for the communication message.
-
Priority: string
The priority of the message for notification.
-
RecordFifthKeyName: string
Title:
Record Fifth Key NameMaximum Length:32The fifth key name of the communication resource associated with the event. -
RecordFifthKeyValue: string
Title:
Record Fifth Key ValueMaximum Length:100The fifth key value of the communication resource associated with the event. -
RecordFirstKeyName: string
Title:
Record First Key NameMaximum Length:32The first key name of the communication resource associated with the event. -
RecordFirstKeyValue: string
Title:
Record First Key ValueMaximum Length:100The first key value of the communication resource associated with the event. -
RecordFourthKeyName: string
Title:
Record Fourth Key NameMaximum Length:32The fourth key name of the communication resource associated with the event. -
RecordFourthKeyValue: string
Title:
Record Fourth Key ValueMaximum Length:100The fourth key value of the communication resource associated with the event. -
RecordIdentifier: string
Title:
Record IdentifierMaximum Length:100The communication request identifier passed through the communication request. -
RecordSecondKeyName: string
Title:
Record Second Key NameMaximum Length:32The second key name of the communication resource associated with the event. -
RecordSecondKeyValue: string
Title:
Record Second Key ValueMaximum Length:100The second key value of the communication resource associated with the event. -
RecordSubIdentifier: string
Title:
Record Sub IdentifierMaximum Length:100The communication request sub identifier passed through the communication request. -
RecordThirdKeyName: string
Title:
Record Third Key NameMaximum Length:32The third key name of the communication resource associated with the event. -
RecordThirdKeyValue: string
Title:
Record Third Key ValueMaximum Length:100The third key value of the communication resource associated with the event. -
ResourceEndPoint: string
The communication resource REST endpoint for generating data payload to replace parameters from the ad hoc communication request.
-
RunEnd: string
(date-time)
The date and time when the ad hoc communication was deleted.
-
RunStart: string
(date-time)
The date and time when the ad hoc communication was created.
-
Status: string
Title:
StatusMaximum Length:30The status of the ad hoc communication request. -
Subject: string
The subject of the ad hoc communication request.
-
Visibility: string
The visibility option of the ad hoc communication request.
-
WebFormData: string
The web form details attached to the communication request.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : link
Type:
Show Source
object-
href: string
Title:
hyperlink referenceThe URI to the related resource. -
kind: string
Title:
kindAllowed Values:[ "collection", "item", "describe", "other" ]The kind of the related resource. -
name: string
Title:
nameThe name of the link to the related resource. -
properties: object
properties
-
rel: string
Title:
relationAllowed Values:[ "self", "lov", "parent", "canonical", "child", "enclosure", "action", "custom" ]The name of the relation to the resource instance. Example: self.
Nested Schema : properties
Type:
Show Source
object-
changeIndicator: string
Change indicator or the ETag value of the resource instance.