Create an ad hoc email
post
/fscmRestApi/resources/11.13.18.05/publicSectorAdhocEmails
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)
Title:
Agency IDDefault Value:1The unique identifier of the agency associated with the ad hoc email. -
BccAddress: string
Title:
Bcc Email AddressThe email addresses of the ad hoc email's blind copied recipients. -
Body: string
Title:
BodyThe body of the ad hoc email. -
CcAddress: string
Title:
Cc Email AddressThe email addresses of the ad hoc email's copied recipients. -
EventId: integer
(int64)
Title:
Event IDThe unique identifier for the communication event. -
FromAddress: string
Title:
From AddressThe sender address of the ad hoc email. -
Log: string
(byte)
Title:
Error TextThe communication ad hoc email request error details. -
LogId: integer
(int64)
Title:
Log IDThe unique identifier for the communication ad hoc email. This ID is automatically generated by the application. -
LogMsgAttData: string
The attachment details attached to the email.
-
MimeType: string
Title:
Mime TypeThe MIME type of the ad hoc email message. The possible values are HTML and Text. -
PayloadData: string
The data payload provided with ad hoc email request.
-
PreferredLanguage: string
Title:
Message LanguageThe language used for the email message. -
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
Title:
Resource EndpointThe communication resource REST endpoint for generating data payload to replace parameters from the ad hoc email. -
Status: string
Title:
StatusMaximum Length:30The status of the ad hoc email request. -
Subject: string
Title:
SubjectThe subject of the ad hoc email. -
ToAddress: string
Title:
To Email AddressThe email addresses of the ad hoc email's primary recipients. -
Visibility: string
Title:
VisibilityThe visibility option of the triggered ad hoc email. -
WebFormData: string
The web form details attached to the email.
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 : publicSectorAdhocEmails-item-response
Type:
Show Source
object-
AgencyId: integer
(int32)
Title:
Agency IDDefault Value:1The unique identifier of the agency associated with the ad hoc email. -
BccAddress: string
Title:
Bcc Email AddressThe email addresses of the ad hoc email's blind copied recipients. -
Body: string
Title:
BodyThe body of the ad hoc email. -
CcAddress: string
Title:
Cc Email AddressThe email addresses of the ad hoc email's copied recipients. -
CreatedBy: string
Title:
Created ByRead Only:trueMaximum Length:64The user who created the ad hoc email request. -
CreationDate: string
(date-time)
Title:
Creation DateRead Only:trueThe date and time that the ad hoc email request was created. -
EventId: integer
(int64)
Title:
Event IDThe unique identifier for the communication event. -
FromAddress: string
Title:
From AddressThe sender address of the ad hoc email. -
LastUpdateDate: string
(date-time)
Title:
Last Updated DateRead Only:trueThe date that the ad hoc email request was last updated. -
LastUpdatedBy: string
Title:
Last Updated ByRead Only:trueMaximum Length:64The user who last updated the communication ad hoc email request. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
Log: string
(byte)
Title:
Error TextThe communication ad hoc email request error details. -
LogId: integer
(int64)
Title:
Log IDThe unique identifier for the communication ad hoc email. This ID is automatically generated by the application. -
LogMsgAttData: string
The attachment details attached to the email.
-
MimeType: string
Title:
Mime TypeThe MIME type of the ad hoc email message. The possible values are HTML and Text. -
PayloadData: string
The data payload provided with ad hoc email request.
-
PreferredLanguage: string
Title:
Message LanguageThe language used for the email message. -
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
Title:
Resource EndpointThe communication resource REST endpoint for generating data payload to replace parameters from the ad hoc email. -
Status: string
Title:
StatusMaximum Length:30The status of the ad hoc email request. -
Subject: string
Title:
SubjectThe subject of the ad hoc email. -
ToAddress: string
Title:
To Email AddressThe email addresses of the ad hoc email's primary recipients. -
Visibility: string
Title:
VisibilityThe visibility option of the triggered ad hoc email. -
WebFormData: string
The web form details attached to the email.
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.