Create disclosure tracking log fulfillment
A documents integration can create a fulfillment for an existing disclosure tracking log by patching a transaction with a response that returns the required field values, and with a response result object with the action CREATE_FULFILLMENT_DISCLOSURE.
Prerequisite
The product must be entitled to the
CREATE_FULFILLMENT_DISCLOSUREaction to use it in a transaction PATCH.To entitle a product, add the action to the
response.resultsarray of the relevant request type within$.entitlements.data.transaction:{ "action": "CREATE_FULFILLMENT_DISCLOSURE", "formats": [ "application/vnd.disclosure-fulfillment-create-1.0.0.json" ] }
The specific fields that are sent as part of the response loan data follow the standard data entitlement model and process.
{
"status": "processing",
"loanFormat": "application/vnd.plm-2.0.0+json",
"loan": {
... // Additional loan data, sent as part of standard transaction loan update
},
"result": {
"format": "application/vnd.disclosure-fulfillment-create-1.0.0.json",
"action": "CREATE_FULFILLMENT_DISCLOSURE",
"details": {
... // Create disclosure fulfillment action details
}
},
"partnerStatus": "partner status"
}
format and action
The Encompass Partner Connect (EPC) Platform uses
$.result.formatand$.result.actionto determine how to process the action details sent in the transaction PATCH payload. Make sure you use:
"format": "application/vnd.disclosure-fulfillment-create-1.0.0.json"
"action": "CREATE_FULFILLMENT_DISCLOSURE"
| Field | Additional Information |
|---|---|
$.result.details.disclosureTrackingLogId | Required. ID of the disclosure tracking log that the fulfillment belongs to. |
$.result.details.disclosedMethod | Required. Allowed values: ByMail, InPerson. |
$.result.details.orderedBy | Required. Who ordered the fulfillment. |
$.result.details.processedDate | Required. Date the fulfillment was processed. |
$.result.details.recipients[] | Optional. Exactly one recipient object, with at least one of actualDate and comments. |
The complete list of supported fields in the create disclosure tracking log fulfillment action details object is defined in the JSON schema below. You can use online tools such as JSON Schema Validator to manually validate the contents of a details object.
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"disclosureTrackingLogId": {
"type": "string"
},
"disclosedMethod": {
"type": "string",
"enum": [
"ByMail",
"InPerson"
]
},
"orderedBy": {
"type": "string"
},
"processedDate": {
"type": "string"
},
"recipients": {
"type": "array",
"minItems": 1,
"maxItems": 1,
"items": {
"type": "object",
"properties": {
"actualDate": {
"type": "string"
},
"comments": {
"type": "string"
}
},
"minProperties": 1,
"additionalProperties": false
}
}
},
"required": [
"disclosureTrackingLogId",
"orderedBy",
"processedDate",
"disclosedMethod"
],
"additionalProperties": false
}
Below is a sample request payload for creating a disclosure tracking log fulfillment, showing all of the fields supported by the operation:
{
"status": "completed",
"loanFormat": "application/vnd.plm-2.0.0+json",
"result": {
"format": "application/vnd.disclosure-fulfillment-create-1.0.0.json",
"action": "CREATE_FULFILLMENT_DISCLOSURE",
"details": {
"disclosureTrackingLogId": "b22e6897-7435-465d-ad0c-da4b8d0b6ba7",
"disclosedMethod": "ByMail",
"orderedBy": "Test",
"processedDate": "2023-03-24T11:11:11Z",
"recipients": [
{
"actualDate": "2023-03-29",
"comments": "Test Comments"
}
]
}
}
}
Updated about 24 hours ago

