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
Root Schema : schema
Type:
Show Source
object
-
AgencyId: integer
(int32)
Title:
Agency ID
Default Value:1
The unique identifier of the agency associated with the ad hoc email. -
ApplicationAddress1: string
Title:
Application Address 1
Maximum Length:240
The Application Address Line 1 for Business Entity Location. -
ApplicationAddress2: string
Title:
Application Address 2
Maximum Length:240
The Application Address Line 2 for Business Entity Location. -
ApplicationAddress3: string
Title:
Application Address 3
Maximum Length:240
The Application Address Line 3 for Business Entity Location. -
ApplicationAddress4: string
Title:
Application Address 4
Maximum Length:240
The Application Address Line 4 for Business Entity Location. -
ApplicationCity: string
Title:
Application City
Maximum Length:60
The Application City Name for Business Entity Location. -
ApplicationCountry: string
Title:
Application Country
Maximum Length:3
The Application Country Name for Business Entity Location. -
ApplicationCounty: string
Title:
Application County
Maximum Length:20
The Application County Name for Business Entity Location. -
ApplicationDbaBusinessName: string
Title:
Doing Business As
Maximum Length:360
Doing Business as name for Business Entity Location. -
ApplicationOrganizationName: string
Title:
Organization Name
Maximum Length:360
Organization Name for Business Entity Location. -
ApplicationPostal: string
Title:
Application Postal Code
Maximum Length:60
Postal code for Business Entity Location. -
ApplicationState: string
Title:
Application State
Maximum Length:60
State name for Business Entity Location. -
BccAddress: string
Title:
Bcc Email Address
The email addresses of the ad hoc email's blind copied recipients. -
Body: string
Title:
Body
The body of the ad hoc email. -
CcAddress: string
Title:
Cc Email Address
The email addresses of the ad hoc email's copied recipients. -
EventId: integer
(int64)
Title:
Event ID
The unique identifier for the communication event. -
FromAddress: string
Title:
From Address
The sender address of the ad hoc email. -
Log: string
(byte)
Title:
Error Text
The communication ad hoc email request error details. -
LogId: integer
(int64)
Title:
Log ID
The 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 Type
The 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 Language
The language used for the email message. -
RecordFifthKeyId: string
Title:
Record Fifth Key ID
Maximum Length:100
The fifth key id name of the communication resource associated with the event. -
RecordFifthKeyName: string
Title:
Record Fifth Key Name
Maximum Length:32
The fifth key name of the communication resource associated with the event. -
RecordFifthKeyValue: string
Title:
Record Fifth Key Value
Maximum Length:100
The fifth key value of the communication resource associated with the event. -
RecordFirstKeyId: string
Title:
Record First Key ID
Maximum Length:100
The first key id name of the communication resource associated with the event. -
RecordFirstKeyName: string
Title:
Record First Key Name
Maximum Length:32
The first key name of the communication resource associated with the event. -
RecordFirstKeyValue: string
Title:
Record First Key Value
Maximum Length:100
The first key value of the communication resource associated with the event. -
RecordFourthKeyId: string
Title:
Record Fourth Key ID
Maximum Length:100
The fourth key id name of the communication resource associated with the event. -
RecordFourthKeyName: string
Title:
Record Fourth Key Name
Maximum Length:32
The fourth key name of the communication resource associated with the event. -
RecordFourthKeyValue: string
Title:
Record Fourth Key Value
Maximum Length:100
The fourth key value of the communication resource associated with the event. -
RecordIdentifier: string
Title:
Record Identifier
Maximum Length:100
The communication request identifier passed through the communication request. -
RecordSecondKeyId: string
Title:
Record Second Key ID
Maximum Length:100
The second key id name of the communication resource associated with the event. -
RecordSecondKeyName: string
Title:
Record Second Key Name
Maximum Length:32
The second key name of the communication resource associated with the event. -
RecordSecondKeyValue: string
Title:
Record Second Key Value
Maximum Length:100
The second key value of the communication resource associated with the event. -
RecordSubIdentifier: string
Title:
Record Subidentifier
Maximum Length:100
The communication request sub identifier passed through the communication request. -
RecordThirdKeyId: string
Title:
Record Third Key ID
Maximum Length:100
The third key id name of the communication resource associated with the event. -
RecordThirdKeyName: string
Title:
Record Third Key Name
Maximum Length:32
The third key name of the communication resource associated with the event. -
RecordThirdKeyValue: string
Title:
Record Third Key Value
Maximum Length:100
The third key value of the communication resource associated with the event. -
ResourceEndPoint: string
Title:
Resource Endpoint
The communication resource REST endpoint for generating data payload to replace parameters from the ad hoc email. -
SourceDescription: string
Title:
Event Name
Maximum Length:500
The event name for which the communication is triggered. -
Status: string
Title:
Status
Maximum Length:30
The status of the ad hoc email request. -
Subject: string
Title:
Subject
The subject of the ad hoc email. -
ToAddress: string
Title:
To Email Address
The email addresses of the ad hoc email's primary recipients. -
Visibility: string
Title:
Visibility
The 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 ID
Default Value:1
The unique identifier of the agency associated with the ad hoc email. -
ApplicationAddress1: string
Title:
Application Address 1
Maximum Length:240
The Application Address Line 1 for Business Entity Location. -
ApplicationAddress2: string
Title:
Application Address 2
Maximum Length:240
The Application Address Line 2 for Business Entity Location. -
ApplicationAddress3: string
Title:
Application Address 3
Maximum Length:240
The Application Address Line 3 for Business Entity Location. -
ApplicationAddress4: string
Title:
Application Address 4
Maximum Length:240
The Application Address Line 4 for Business Entity Location. -
ApplicationCity: string
Title:
Application City
Maximum Length:60
The Application City Name for Business Entity Location. -
ApplicationCountry: string
Title:
Application Country
Maximum Length:3
The Application Country Name for Business Entity Location. -
ApplicationCounty: string
Title:
Application County
Maximum Length:20
The Application County Name for Business Entity Location. -
ApplicationDbaBusinessName: string
Title:
Doing Business As
Maximum Length:360
Doing Business as name for Business Entity Location. -
ApplicationOrganizationName: string
Title:
Organization Name
Maximum Length:360
Organization Name for Business Entity Location. -
ApplicationPostal: string
Title:
Application Postal Code
Maximum Length:60
Postal code for Business Entity Location. -
ApplicationState: string
Title:
Application State
Maximum Length:60
State name for Business Entity Location. -
BccAddress: string
Title:
Bcc Email Address
The email addresses of the ad hoc email's blind copied recipients. -
Body: string
Title:
Body
The body of the ad hoc email. -
CcAddress: string
Title:
Cc Email Address
The email addresses of the ad hoc email's copied recipients. -
CreatedBy: string
Title:
Created By
Read Only:true
Maximum Length:64
The user who created the ad hoc email request. -
CreationDate: string
(date-time)
Title:
Creation Date
Read Only:true
The date and time that the ad hoc email request was created. -
EventId: integer
(int64)
Title:
Event ID
The unique identifier for the communication event. -
FromAddress: string
Title:
From Address
The sender address of the ad hoc email. -
LastUpdateDate: string
(date-time)
Title:
Last Updated Date
Read Only:true
The date that the ad hoc email request was last updated. -
LastUpdatedBy: string
Title:
Last Updated By
Read Only:true
Maximum Length:64
The user who last updated the communication ad hoc email request. -
links: array
Links
Title:
Links
The link relations associated with the resource instance. -
Log: string
(byte)
Title:
Error Text
The communication ad hoc email request error details. -
LogId: integer
(int64)
Title:
Log ID
The 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 Type
The 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 Language
The language used for the email message. -
RecordFifthKeyId: string
Title:
Record Fifth Key ID
Maximum Length:100
The fifth key id name of the communication resource associated with the event. -
RecordFifthKeyName: string
Title:
Record Fifth Key Name
Maximum Length:32
The fifth key name of the communication resource associated with the event. -
RecordFifthKeyValue: string
Title:
Record Fifth Key Value
Maximum Length:100
The fifth key value of the communication resource associated with the event. -
RecordFirstKeyId: string
Title:
Record First Key ID
Maximum Length:100
The first key id name of the communication resource associated with the event. -
RecordFirstKeyName: string
Title:
Record First Key Name
Maximum Length:32
The first key name of the communication resource associated with the event. -
RecordFirstKeyValue: string
Title:
Record First Key Value
Maximum Length:100
The first key value of the communication resource associated with the event. -
RecordFourthKeyId: string
Title:
Record Fourth Key ID
Maximum Length:100
The fourth key id name of the communication resource associated with the event. -
RecordFourthKeyName: string
Title:
Record Fourth Key Name
Maximum Length:32
The fourth key name of the communication resource associated with the event. -
RecordFourthKeyValue: string
Title:
Record Fourth Key Value
Maximum Length:100
The fourth key value of the communication resource associated with the event. -
RecordIdentifier: string
Title:
Record Identifier
Maximum Length:100
The communication request identifier passed through the communication request. -
RecordSecondKeyId: string
Title:
Record Second Key ID
Maximum Length:100
The second key id name of the communication resource associated with the event. -
RecordSecondKeyName: string
Title:
Record Second Key Name
Maximum Length:32
The second key name of the communication resource associated with the event. -
RecordSecondKeyValue: string
Title:
Record Second Key Value
Maximum Length:100
The second key value of the communication resource associated with the event. -
RecordSubIdentifier: string
Title:
Record Subidentifier
Maximum Length:100
The communication request sub identifier passed through the communication request. -
RecordThirdKeyId: string
Title:
Record Third Key ID
Maximum Length:100
The third key id name of the communication resource associated with the event. -
RecordThirdKeyName: string
Title:
Record Third Key Name
Maximum Length:32
The third key name of the communication resource associated with the event. -
RecordThirdKeyValue: string
Title:
Record Third Key Value
Maximum Length:100
The third key value of the communication resource associated with the event. -
ResourceEndPoint: string
Title:
Resource Endpoint
The communication resource REST endpoint for generating data payload to replace parameters from the ad hoc email. -
SourceDescription: string
Title:
Event Name
Maximum Length:500
The event name for which the communication is triggered. -
Status: string
Title:
Status
Maximum Length:30
The status of the ad hoc email request. -
Subject: string
Title:
Subject
The subject of the ad hoc email. -
ToAddress: string
Title:
To Email Address
The email addresses of the ad hoc email's primary recipients. -
Visibility: string
Title:
Visibility
The visibility option of the triggered ad hoc email. -
WebFormData: string
The web form details attached to the email.
-
WebformURL: string
Title:
Web Form URL
Read Only:true
Maximum Length:255
Webform URL details for communication.
Nested Schema : Links
Type:
array
Title:
Links
The link relations associated with the resource instance.
Show Source
Nested Schema : link
Type:
Show Source
object
-
href: string
Title:
hyperlink reference
The URI to the related resource. -
kind: string
Title:
kind
Allowed Values:[ "collection", "item", "describe", "other" ]
The kind of the related resource. -
name: string
Title:
name
The name of the link to the related resource. -
properties: object
properties
-
rel: string
Title:
relation
Allowed 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.