# Order Services

Submits an order for a service and creates a transaction object. The response header ("location") includes the transactionId that is used to retrieve the results from the service provider.

**Usage Notes:**

- The caller is expected to ensure that all the details required for placing a request are available within the specified Encompass entity. For example, The borrower's name and social security number are required to run a credit report. This information is expected within the entity that is specified by the product.entityRef attribute in the request.
- The correct Partner ID, product name and service provider options are required to make this API call to a service provider.
- Throughout this API specification, Fannie Mae will be referred to as **FNMA**, and Freddie Mac will be referred to as **FHLMC** for consistency and brevity.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "version": "1.0",
    "title": "Services: Partner Service Orders",
    "summary": "",
    "description": "Place service requests and retrieve reports from service providers for services such as credit, underwriting, GSE Services."
  },
  "servers": [
    {
      "url": "https://api.elliemae.com",
      "description": "Prod"
    },
    {
      "url": "https://concept.api.elliemae.com",
      "description": "UAT"
    }
  ],
  "paths": {
    "/services/v1/partners/{partnerId}/transactions": {
      "post": {
        "tags": [
          "Service Orders"
        ],
        "summary": "Order Services",
        "description": "Submits an order for a service and creates a transaction object. The response header (\"location\") includes the transactionId that is used to retrieve the results from the service provider.\r\n\r\n**Usage Notes:**\r\n\r\n- The caller is expected to ensure that all the details required for placing a request are available within the specified Encompass entity. For example, The borrower's name and social security number are required to run a credit report. This information is expected within the entity that is specified by the product.entityRef attribute in the request.\r\n- The correct Partner ID, product name and service provider options are required to make this API call to a service provider.\r\n- Throughout this API specification, Fannie Mae will be referred to as **FNMA**, and Freddie Mac will be referred to as **FHLMC** for consistency and brevity.",
        "operationId": "order-services",
        "parameters": [
          {
            "name": "partnerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Post the necessary fields for the API to create a new user.",
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "Product": {
                    "description": "Object containing all the necessary product information needed for a service provider to process a service request.\r\n\r\nCore attributes include product name, service credentials, reference to the subject loan and user preferences with respect to the product/service. Refer to the schemas below for details on the product object for different categories and services.",
                    "oneOf": [
                      {
                        "$ref": "#/components/schemas/orderCredit",
                        "description": "Place service orders for credit partners."
                      },
                      {
                        "$ref": "#/components/schemas/orderFNMAAUS",
                        "description": "Request and retrieve Automated Underwriting System (AUS) reports from Fannie Mae."
                      },
                      {
                        "$ref": "#/components/schemas/orderFHLMCAUS",
                        "description": "Request and retrieve Automated Underwriting System (AUS) reports from Freddie Mac."
                      },
                      {
                        "$ref": "#/components/schemas/retrieveReportFiles",
                        "description": "After a service order has been completed, you can receive raw XML files for the supported service reports."
                      },
                      {
                        "$ref": "#/components/schemas/orderFHLMCAffordableCheck",
                        "description": "Submit a preliminary assessment for Freddie Mac affordable product eligibility prior to submitting a full application to Freddie Mac’s Loan Product Advisor®"
                      },
                      {
                        "$ref": "#/components/schemas/orderFHLMCDataShare",
                        "description": "Retrieve Loan Closing Advisor (LCLA)/Loan Product Advisor (LPA)/ Loan Quality Advisor (LQA) documents for a previously submitted loan using LPA Key (AUS Identifier) and Primary Borrower Last name.\r\n\r\nDatashare API will request the data using the AUS key for the Freddie Mac Service (LCLA/LPA/LQA) and then verify that the submitted Borrower Last name and property Address matches the record in the Freddie Mac document storage repository. If a match is made the system will retrieve LCLA/LPA/LQA Data or PDF associated with that AUS key for requested loan. If a match is not made an error message will be returned."
                      }
                    ]
                  }
                },
                "required": [
                  "Product"
                ]
              },
              "examples": {
                "Group 1: Credit-CoreLogic": {
                  "value": {
                    "product": {
                      "entityRef": {
                        "entityId": "c4757124-5078-4f62-86a8-630ff5208745#_borrower1",
                        "entityType": "urn:elli:encompass:loan:borrower"
                      },
                      "name": "Credit-CoreLogic",
                      "options": {
                        "digiCert": true,
                        "requestType": "NewRequest",
                        "reportOn": "Joint",
                        "reportType": "Merge",
                        "creditReportIdentifier": "",
                        "note": "",
                        "excludeZeroforImportLiabilities": true,
                        "creditBureauExperian": "Y",
                        "creditBureauEquifax": "Y",
                        "creditBureauTransUnion": "Y"
                      },
                      "credentials": {
                        "userName": "testing",
                        "password": "partner"
                      },
                      "preferences": {
                        "importAllLiabilities": "true",
                        "excludeZeroBalances": "true"
                      }
                    }
                  }
                },
                "Group 2: Credit-SharperLending": {
                  "value": {
                    "product": {
                      "entityRef": {
                        "entityId": "0b683692-c314-4a03-9e75-f382397d3141#_borrower1",
                        "entityType": "urn:elli:encompass:loan:borrower"
                      },
                      "name": "Credit-SharperLending",
                      "credentials": {
                        "userName": "9999999",
                        "password": "TESTPASSWORD",
                        "providerId": "provider ID",
                        "subscriberId": "subscriber ID"
                      },
                      "options": {
                        "requestType": "NewOrder",
                        "reportOn": "Joint",
                        "reportType": "Merge",
                        "creditReportIdentifier": "",
                        "note": "",
                        "creditBureauExperian": true,
                        "creditBureauEquifax": true,
                        "creditBureauTransUnion": true
                      },
                      "preferences": {
                        "importLiabilities": true,
                        "excludeZeroforImportLiabilities": true
                      }
                    }
                  }
                },
                "FNMA: AUS-DU": {
                  "value": {
                    "product": {
                      "entityRef": {
                        "entityId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
                        "entityType": "urn:elli:encompass:loan"
                      },
                      "name": "AUS-DU",
                      "credentials": {
                        "userName": "xxxxxxxx",
                        "password": "xxxxxxx",
                        "institutionID": "xxxxxxx",
                        "creditProviderUserName": "",
                        "creditProviderPassword": ""
                      },
                      "options": {
                        "requestType": "newOrder",
                        "ausReportIdentifier": "",
                        "creditProviderCode": "3",
                        "orderCreditDetails": [
                          {
                            "applicationID": "_borrower1",
                            "creditReportIdentifier": ""
                          }
                        ]
                      },
                      "preferences": {
                        "importConditions": "",
                        "conditionType": ""
                      }
                    }
                  }
                },
                "FNMA: AUS-DO-PU": {
                  "value": {
                    "product": {
                      "name": "AUS-DO-PU",
                      "entityRef": {
                        "entityId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
                        "entityType": "urn:elli:encompass:loan"
                      },
                      "credentials": {
                        "doUserId": "xxxxxxxx",
                        "doPassword": "xxxxxxx",
                        "institutionID": "xxxxxxx",
                        "creditProviderUserName": "",
                        "creditProviderPassword": ""
                      },
                      "options": {
                        "requestType": "newOrder",
                        "ausReportIdentifier": "",
                        "creditProviderCode": "3",
                        "submissionType": "xxxxxxxxx",
                        "lenderSponsorName": "xxxxxxxxx",
                        "lenderSponsorId": "xxxxxxxxx",
                        "institutionName": "xxxxxxxxx",
                        "orderMergeCredit": "Y",
                        "orderCreditDetails": [
                          {
                            "applicationID": "xxxxxxxx",
                            "creditRequestActionType": "Reissue",
                            "creditReportIdentifier": "xxxxxxx"
                          },
                          {
                            "applicationID": "xxxxxxxx",
                            "creditRequestActionType": "Reissue",
                            "creditReportIdentifier": "xxxxxxx"
                          }
                        ]
                      },
                      "preferences": {
                        "importConditions": false,
                        "conditionType": "xxxxxx"
                      }
                    }
                  }
                },
                "FNMA: AUS-EC-PU": {
                  "value": {
                    "product": {
                      "entityRef": {
                        "entityId": "{{LoanUId}}",
                        "entityType": "urn:elli:encompass:loan"
                      },
                      "name": "AUS-EC-PU",
                      "credentials": {
                        "userName": "{{username}}",
                        "password": "{{password}}",
                        "institutionID": "{{institutionID}}"
                      },
                      "options": {
                        "requestType": "NewOrder",
                        "ausReportIdentifier": "",
                        "ausReportLoanIdentifier": "",
                        "fileFormat": "ULDD",
                        "importConditions": "true",
                        "conditionType": "preliminary"
                      }
                    }
                  }
                },
                "FHLMC: AUS-LQA-PU ": {
                  "value": {
                    "product": {
                      "entityRef": {
                        "entityId": "{{LoanUID}}",
                        "entityType": "urn:elli:encompass:loan"
                      },
                      "name": "AUS-LQA-PU",
                      "options": {
                        "requestType": "RetrieveReportFiles",
                        "applicationID": "_borrower1",
                        "loanAttachments": "{{BooleanValue}}",
                        "efolderAttachments": "{{BooleanValue}}",
                        "reportIdentifier": "{{ReportIdentifier}}"
                      }
                    }
                  }
                },
                "FHLMC: AUS-LPAffordableCheck": {
                  "value": {
                    "product": {
                      "entityRef": {
                        "entityId": "{{loan_uid}}",
                        "entityType": "urn:elli:encompass:loan"
                      },
                      "name": "AUS-LPAffordableCheck",
                      "credentials": {
                        "userName": "{{username}}",
                        "password": "{{password}}",
                        "tpoAccountIdentifier": "{{TPO ID if applicable}}",
                        "sellerServicerNumber": "{{seller#}}"
                      },
                      "options": {
                        "requestType": "NewOrder",
                        "requestId": "{{GUID generated by caller}}",
                        "partyRoleType": "{{Broker | Seller | Servicer | Correspondent | Lender }}"
                      },
                      "clientEntity": {
                        "configName": "{{set 'UAT' point to Freddie Mac lower environment - leave blank for Prod}}"
                      }
                    }
                  }
                },
                "FHLMC Data Share: AUS-LCLA": {
                  "value": {
                    "product": {
                      "entityRef": {
                        "entityId": "{{loanId}}",
                        "entityType": "urn:elli:encompass:loan"
                      },
                      "name": "AUS-LCLA",
                      "credentials": {
                        "userName": "xxxxxxx",
                        "password": "xxxxxxxxx",
                        "tpoAccountIdentifier": "",
                        "sellerServicerNumber": "000165",
                        "branchId": ""
                      },
                      "options": {
                        "requestType": "GetLCLADataShare",
                        "ausReportIdentifier": "A0013437"
                      }
                    }
                  }
                },
                "FHLMC Data Share: AUS-LPA": {
                  "value": {
                    "product": {
                      "entityRef": {
                        "entityId": "{83728bc0-eabe-4894-9d54-185284815ec2}",
                        "entityType": "urn:elli:encompass:loan"
                      },
                      "name": "AUS-LPA",
                      "credentials": {
                        "userName": "XXXXXXXXXXX",
                        "password": "XXXXXXXXXXX",
                        "tpoAccountIdentifier": "",
                        "sellerServicerNumber": "000165",
                        "branchId": ""
                      },
                      "options": {
                        "requestType": "GetLPADataShare",
                        "ausReportIdentifier": "A1234567"
                      }
                    }
                  }
                },
                "FHLMC Data Share:  AUS-LQA": {
                  "value": {
                    "product": {
                      "entityRef": {
                        "entityId": "{{LoanId}}",
                        "entityType": "urn:elli:encompass:loan"
                      },
                      "name": "AUS-LQA",
                      "credentials": {
                        "userName": "XXXXXXXXX",
                        "password": "XXXXXXXXX",
                        "tpoAccountIdentifier": "",
                        "sellerServicerNumber": "XXXXX",
                        "branchId": ""
                      },
                      "options": {
                        "requestType": "GetLQADataShare",
                        "reportIdentifier": "XXXXXXXX"
                      },
                      "clientEntity": {
                        "configName": "XXX"
                      }
                    }
                  }
                },
                "Group 1 - Credit-InformativeResearch": {
                  "value": {
                    "product": {
                      "entityRef": {
                        "entityId": "c4757124-5078-4f62-86a8-630ff5208745#_borrower1",
                        "entityType": "urn:elli:encompass:loan:borrower"
                      },
                      "name": "Credit-InformativeResearch",
                      "credentials": {
                        "userName": "*******",
                        "password": "*******",
                        "clientID": "2100035"
                      },
                      "options": {
                        "requestType": "NewOrder",
                        "reportOn": "Joint",
                        "reportType": "Merge",
                        "creditReportIdentifier": "true",
                        "creditBureauExperian": "true",
                        "creditBureauEquifax": "true",
                        "creditBureauTransUnion": "true"
                      },
                      "preferences": {
                        "importLiabilities": "true"
                      }
                    }
                  }
                },
                "Retrieve Report Files": {
                  "value": {
                    "product": {
                      "entityRef": {
                        "entityId": "{{LoanGuid}}",
                        "entityType": "urn:elli:encompass:loan"
                      },
                      "name": "{{Credit_Partner_Product_Name}}",
                      "options": {
                        "requestType": "RetrieveReportFiles",
                        "applicationID": "{{Borrower_ID}}",
                        "reportIdentifier": "{{Case_Number}}",
                        "loanAttachments": "true"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "string",
                      "description": "Service Order status."
                    },
                    "responseDetail": {
                      "$ref": "#/components/schemas/responseDetail",
                      "description": "The object containing the response data from the service provider."
                    },
                    "resources": {
                      "$ref": "#/components/schemas/resourcesResponse",
                      "description": "Object containing resource attributes sent by the service provider."
                    },
                    "documents": {
                      "$ref": "#/components/schemas/documentsResponse",
                      "description": "Document object containing details of the document attachments returned by the service provider. "
                    },
                    "productResponse": {
                      "$ref": "#/components/schemas/productResponse",
                      "description": "Object containing the service order product details returned by the service provider. "
                    }
                  }
                },
                "examples": {
                  "FNMA: AUS-DU": {
                    "value": {
                      "status": "success",
                      "resources": [
                        {
                          "id": "FANNIE_MAE-FINDINGS.XML",
                          "name": "UNDERWRITING_FINDINGS_XML",
                          "mimeType": "emmedia/pdf"
                        },
                        {
                          "id": "Attachment-5aa17ffd-c2e0-48e7-8d0e-4c29ec478b5e.HTM",
                          "name": "1990533354.FINDINGS",
                          "mimeType": "emmedia/pdf"
                        },
                        {
                          "id": "1990533354__borrower1.CREDITFLATFILE",
                          "name": "CREDITREPORT_FLATFILE_",
                          "mimeType": "emmedia/pdf"
                        },
                        {
                          "id": "Attachment-dfa5488a-e990-41c4-9b1d-20baf23c6ad2.TXT",
                          "name": "1990533354__borrower1.CREDITPRINTFILE",
                          "mimeType": "emmedia/html"
                        }
                      ],
                      "product": {
                        "partnerID": "10000034",
                        "productName": "AUS-DU",
                        "displayName": "Fannie Mae DU",
                        "category": "AUS",
                        "entityRef": {
                          "entityId": "d45b8195-a27e-442b-b0d9-6e9b46af31fa",
                          "entityType": "urn:elli:encompass:loan"
                        }
                      }
                    }
                  },
                  "FNMA: AUS-DO-PU": {
                    "value": {
                      "status": "success",
                      "resources": [
                        {
                          "id": "FANNIE_MAE-FINDINGS.XML",
                          "name": "UNDERWRITING_FINDINGS_XML",
                          "mimeType": "application/xml",
                          "elli-signature": "",
                          "url": "https://media-pod0-int.elliemae.com/v2/media/instance/DEBE11170913/loans/67ba8596-2943-479a-a0fa-6a80a89608cc/files/FANNIE_MAE-FINDINGS.XML?tokencreator=Encompass&tokenexpires=1581317260&token=1sybW%2fK9XEZePv0Iget%2bdQsg8BdWeZdXn71kOnAtp%2bVo8V%2b%2bF0wTO321z6R9zZICF8ZGwI10aW%2b7dMO08XCYvA%3d%3d"
                        },
                        {
                          "id": "1232132133123213213.FINDINGS.HTML",
                          "name": "UNDERWRITING_FINDINGS_HTML",
                          "mimeType": "text/html",
                          "elli-signature": "",
                          "url": "https://media-pod0-int.elliemae.com/v2/media/instance/DEBE11170913/loans/67ba8596-2943-479a-a0fa-6a80a89608cc/files/1232132133123213213.FINDINGS.HTML?tokencreator=Encompass&tokenexpires=1581317260&token=Ny2fpZc%2b5xQS5TUJbGeMZaAwkd9P6U7yUYDrMLpsxNr1RpAiYB02s%2fA%2byp40RR%2fXjmRCoRVqLUyHt8pSs6OImg%3d%3d"
                        },
                        {
                          "id": "1232132133123213213__borrower1.CREDITFLATFILE",
                          "name": "CREDITREPORT_FLATFILE_",
                          "mimeType": "application/octet-stream",
                          "elli-signature": "",
                          "url": "https://media-pod0-int.elliemae.com/v2/media/instance/DEBE11170913/loans/67ba8596-2943-479a-a0fa-6a80a89608cc/files/1232132133123213213__borrower1.CREDITFLATFILE?tokencreator=Encompass&tokenexpires=1581317260&token=ayIP9WRYfeUKXrz8wNpuC25V94Ru8EKtpJGBZnHDe639DaM2CpmbTBS465fqXAnTKfnGzZqIWLzroRgFbFpKmg%3d%3d"
                        }
                      ],
                      "product": {
                        "partnerID": "10000034",
                        "productName": "AUS-DO-PU",
                        "displayName": "Fannie Mae DO",
                        "category": "AUS",
                        "entityRef": {
                          "entityId": "67ba8596-2943-479a-a0fa-6a80a89608cc",
                          "entityType": "urn:elli:encompass:loan"
                        },
                        "creationDate": "2020-02-09T22:31:22Z",
                        "lastUpdatedDate": "2020-02-09T22:31:40Z",
                        "orderedBy": "urn:elli:encompass:DEBE********:user:admin"
                      }
                    }
                  },
                  "FNMA: AUS-EC-PU": {
                    "value": {
                      "status": "success",
                      "resources": [
                        {
                          "id": "FNMA-EarlyCheck.htm",
                          "name": "EARLYCHECKRESULTS_HTML",
                          "mimeType": "text/html",
                          "elli-signature": "",
                          "url": "https://media-pod0-int.elliemae.com/v2/media/instance/DEBE11170913/loans/67ba8596-2943-479a-a0fa-6a80a89608cc/files/FNMA-EarlyCheck.htm?tokencreator=Encompass&tokenexpires=1581313904&token=zhtgEa9U2DuIRpNo8dARcAWgUfuDENMGZKbQcat0mn5Z3jlfAe0CzwKnSGMuLqeWbunLz58Elih4hc4L5%2bLEXQ%3d%3d"
                        },
                        {
                          "id": "FNMA-EarlyCheck.xml",
                          "name": "EARLYCHECKRESULTS_XML",
                          "mimeType": "application/xml",
                          "elli-signature": "",
                          "url": "https://media-pod0-int.elliemae.com/v2/media/instance/DEBE11170913/loans/67ba8596-2943-479a-a0fa-6a80a89608cc/files/FNMA-EarlyCheck.xml?tokencreator=Encompass&tokenexpires=1581313904&token=rHayqbiunOPrmUyJujeNYBnMfyvj%2bggo8Yy9zitnZw3dnXFyCVgTYZkn2jVQ2usceL0WTsPFAAzuq7kgdG54Zg%3d%3d"
                        }
                      ],
                      "product": {
                        "partnerID": "10000034",
                        "productName": "AUS-EC-PU",
                        "displayName": "Fannie Mae EarlyCheck",
                        "category": "AUS",
                        "entityRef": {
                          "entityId": "67ba8596-2943-479a-a0fa-6a80a89608cc",
                          "entityType": "urn:elli:encompass:loan"
                        },
                        "creationDate": "2020-02-09T21:35:51Z",
                        "lastUpdatedDate": "2020-02-09T21:36:16Z",
                        "orderedBy": "urn:elli:encompass:DEBE11170913:user:admin"
                      }
                    }
                  },
                  "FHLMC: AUS-LPAffordableCheck": {
                    "value": {
                      "status": "success",
                      "responseDetail": {
                        "requestTransactionIdentifier": "c784e373-fd6c-449a-bb06-e803c951e1b2",
                        "transactionDateTime": "2025-04-13T21:52:06.055179853Z",
                        "inputSubjectPropertyAddress": {
                          "addressLineText": "1234 Main St",
                          "cityName": "Winston Salem",
                          "postalCode": "27104",
                          "stateCode": "NC"
                        },
                        "standardizedSubjectPropertyAddress": {
                          "addressLineText": "1234 S MAIN ST",
                          "cityName": "WINSTON SALEM",
                          "postalCode": "27101",
                          "stateCode": "NC",
                          "censusTractIdentifier": "001902",
                          "fipsCountyCode": "067",
                          "fipsStateNumericCode": "37",
                          "countyName": "Forsyth",
                          "coreBasedStatisticalAreaCode": "49180",
                          "minorityPopulationCensusTractPercent": "40.567",
                          "disasterAreaCensusTractIndicator": false,
                          "minorityPopulationCensusTractIndicator": true,
                          "lowIncomeCensusTractIndicator": false,
                          "highNeedsRuralRegionEligibilityAndQualifiedIndicator": false,
                          "ruralAreaIndicator": false,
                          "highCostAreaIndicator": false
                        },
                        "incomeLimitsData": {
                          "derivedLTVRatioPercent": "44.44",
                          "derivedCombinedLTVRatioPercent": "44.44",
                          "incomeToAMIPercentage": "0.00",
                          "amiEffectiveDate": "2024-05-03",
                          "refiPossibleIncomeLimitAmount": "81900.00",
                          "homePossibleIncomeLimitAmount": "65520.00",
                          "hundredAndFortyPercentHUDMedianIncomeAmount": "114660.00",
                          "hundredAndTwentyPercentHUDMedianIncomeAmount": "98280.00",
                          "hundredPercentHUDMedianIncomeAmount": "81900.00",
                          "eightyPercentHUDMedianIncomeAmount": "65520.00",
                          "fiftyPercentHUDMedianIncomeAmount": "40950.00"
                        },
                        "loanLimitsData": {
                          "loanConformityType": "Conforming",
                          "oneUnitLimitAmount": "806500.0"
                        },
                        "affordableProgramDetails": [
                          {
                            "recommendedProductIdentifier": "HomePossible",
                            "borrowerEligibilityMessage": [
                              {
                                "messageCode": "AFC0038",
                                "messageDescription": "Based on the submitted information, the borrower meets the requirements for a Home Possible loan which offers flexible sources of funds, such as gifts and grants towards 3% minimum down payment requirement, no minimum borrower contribution and reduced delivery fees and mortgage insurance coverage levels to enhance affordability."
                              },
                              {
                                "messageCode": "AFC0040",
                                "messageDescription": "The Maximum loan-to-value (LTV) for Manufactured Housing loans cannot be fully assessed until submitted to LPA."
                              }
                            ]
                          },
                          {
                            "recommendedProductIdentifier": null,
                            "borrowerEligibilityMessage": [
                              {
                                "messageCode": "AFC0047",
                                "messageDescription": "Based on the information provided, the loan meets the criteria of a Minority Census Tract Area transaction."
                              },
                              {
                                "messageCode": "AFC0048",
                                "messageDescription": "Based on the information provided, the loan meets the criteria of a Duty to Serve â€“ Manufactured Housing transaction."
                              }
                            ]
                          }
                        ],
                        "defaultedData": {
                          "determineHFAAdvantageEligibilityIndicator": false,
                          "includesNonOccupantIncomeIndicator": false,
                          "lienPriorityType": "FirstLien",
                          "loanMaturityPeriodCount": "360",
                          "loanMortgageType": "Conventional"
                        }
                      },
                      "product": {
                        "partnerID": "10000035",
                        "productName": "AUS-LPAffordableCheck",
                        "displayName": "Freddie Mac Affordable Check-UAT-1",
                        "category": "AUS",
                        "entityRef": {
                          "entityId": "1d092c80-9319-4d78-9b7f-43a1cd8ae3ab",
                          "entityType": "urn:elli:encompass:loan"
                        },
                        "creationDate": "2025-04-13T18:52:02Z",
                        "lastUpdatedDate": "2025-04-13T18:52:09Z",
                        "orderedBy": "urn:elli:encompass:BE********:user:farid"
                      }
                    }
                  },
                  "FHLMC: AUS-LCLA": {
                    "value": {
                      "status": "success",
                      "documents": {
                        "id": "",
                        "name": "",
                        "attachments": [
                          {
                            "mimeType": "emmedia/pdf",
                            "name": "LCLA_UCDLoanXMLWithEmbeddedClosingDisclosurePDF_Datashare",
                            "content": {
                              "mediatype": "attachment",
                              "createdDateTime": "2022-11-15T03:39:58.5976285-08:00",
                              "attachmentFile": "c475cf17-dcc7-4a42-bede-9f09aa43ffb9"
                            }
                          },
                          {
                            "mimeType": "emmedia/pdf",
                            "name": "LCLA_ClosingDisclosureModelForm_Datashare",
                            "content": {
                              "mediatype": "attachment",
                              "createdDateTime": "2022-11-15T03:39:58.5819914-08:00",
                              "attachmentFile": "20eeb378-9549-4e38-a19d-0fb6aa4f5621"
                            }
                          },
                          {
                            "mimeType": "emmedia/pdf",
                            "name": "LCLA_ClosingDisclosureAlternateForm_Datashare",
                            "content": {
                              "mediatype": "attachment",
                              "createdDateTime": "2022-11-15T03:39:58.5976285-08:00",
                              "attachmentFile": "78b125f6-952e-491a-b1d4-b89fb0bf39df"
                            }
                          },
                          {
                            "mimeType": "emmedia/pdf",
                            "name": "LCLA_ClosingDisclosureBorrowerOnly_Datashare",
                            "content": {
                              "mediatype": "attachment",
                              "createdDateTime": "2022-11-15T03:39:58.5976285-08:00",
                              "attachmentFile": "2523d68f-ca1a-408b-94ce-60b134bc4709"
                            }
                          },
                          {
                            "mimeType": "emmedia/pdf",
                            "name": "LCLA_ClosingDisclosureSellerOnly_Datashare",
                            "content": {
                              "mediatype": "attachment",
                              "createdDateTime": "2022-11-15T03:39:58.5976285-08:00",
                              "attachmentFile": "3f858078-28bd-42c2-b0a7-80efc00303cf"
                            }
                          },
                          {
                            "mimeType": "emmedia/pdf",
                            "name": "LCLA_ClosingDisclosureFeedbackDetail_Datashare",
                            "content": {
                              "mediatype": "attachment",
                              "createdDateTime": "2022-11-15T03:39:58.5819914-08:00",
                              "attachmentFile": "3e3ab739-578e-4b40-96ea-1e5dc0f64bf5"
                            }
                          },
                          {
                            "mimeType": "emmedia/pdf",
                            "name": "LCLA_ClosingDisclosureFeedbackSummary_Datashare",
                            "content": {
                              "mediatype": "attachment",
                              "createdDateTime": "2022-11-15T03:39:58.5819914-08:00",
                              "attachmentFile": "58b45c50-5ef1-418c-a644-99952026dde8"
                            }
                          }
                        ]
                      },
                      "product": {
                        "partnerID": "10000035",
                        "productName": "AUS-LCLA",
                        "displayName": "Loan Closing Advisor-DEMO-1",
                        "category": "AUS",
                        "entityRef": {
                          "entityId": "5a234849-f486-4636-a79e-7b2d15fcb76d",
                          "entityType": "urn:elli:encompass:loan"
                        }
                      }
                    }
                  },
                  "FHLMC: AUS-LPA": {
                    "value": {
                      "status": "success",
                      "resources": [
                        {
                          "id": "a9a8e8f6-02ed-4b46-aa6f-88ad8fd26a81",
                          "name": "FullFeedback",
                          "mimeType": "application/octet-stream",
                          "elli-signature": "elli-signature BC5A9AEC4879C97DE0AAFBE77E6382ECE2D1FEFAE44A65C117",
                          "url": "https://int.streaming.us-west-2.skydrive.rd.elliemae.io/v1/clients/3010000024/0d2707bd-f205-4800-97de-361f52c3ba3b?validity=MTY3OTAyODQ5NTY3NQ%3D%3D&sub=dXJuOmVsbGk6c2VydmljZTpldnA%3D"
                        }
                      ],
                      "product": {
                        "partnerID": "10000035",
                        "productName": "AUS-LPA",
                        "displayName": "Freddie Mac's Loan Product Advisor System to System",
                        "category": "AUS",
                        "entityRef": {
                          "entityId": "3bbd3297-02d0-4711-9ce4-102325175a12",
                          "entityType": "urn:elli:encompass:loan"
                        }
                      }
                    }
                  },
                  "FHLMC: AUS-LQA": {
                    "value": {
                      "status": "success",
                      "documents": {
                        "id": "",
                        "name": "",
                        "attachments": [
                          {
                            "mimeType": "emmedia/pdf",
                            "name": "LQA_ResponsePDF",
                            "content": {
                              "mediatype": "attachment",
                              "createdDateTime": "2023-03-17T15:24:20.9897597+05:30",
                              "attachmentFile": "4527d362-d476-4abd-8815-fb8aac40e7f0"
                            }
                          }
                        ]
                      },
                      "product": {
                        "partnerID": "10000035",
                        "productName": "AUS-LQA",
                        "displayName": "Freddie Mac's Loan Quality Advisor",
                        "category": "AUS",
                        "entityRef": {
                          "entityId": "{3bbd3297-02d0-4711-9ce4-102325175a12}",
                          "entityType": "urn:elli:encompass:loan"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "examples": {
                  "404 No File Error": {
                    "value": {
                      "status": "Error",
                      "code": "5054",
                      "summary": "File Not Found.",
                      "details": "FilesNotFound - one or more files were not found",
                      "resources": [],
                      "product": {
                        "partnerID": "10000034",
                        "productName": "AUS-DU",
                        "displayName": "Fannie Mae DU",
                        "category": "AUS",
                        "entityRef": {
                          "entityId": "{loanId}",
                          "entityType": "urn:elli:encompass:loan"
                        },
                        "creationDate": "{date/time}",
                        "lastUpdatedDate": "{date/time}",
                        "orderedBy": "urn:elli:encompass:{instanceId}:user:{username}"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "servers": [
          {
            "url": "https://api.elliemae.com",
            "description": "Prod"
          },
          {
            "url": "https://concept.api.elliemae.com",
            "description": "UAT"
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "orderCredit": {
        "type": "object",
        "title": "Order Credit",
        "properties": {
          "entityRef": {
            "$ref": "#/components/schemas/entityRef",
            "description": "References the entity ID and entity type. Both must include the loan ID and borrower application ID associated with the loan. Both are returned by 'getLoan'."
          },
          "name": {
            "type": "string",
            "description": "The product name of the service to order. See the Partner Information section to get the correct name value for the partner; either the Transaction_Resource object or Transaction object name."
          },
          "options": {
            "$ref": "#/components/schemas/optionsCreditReport",
            "description": "Important! The parameters defined by the options object will be different depending on the service provider you choose.\r\n- For credit services, refer to the samples in the Credit Partner Information and Samples."
          },
          "credentials": {
            "$ref": "#/components/schemas/credentials",
            "description": "Login credentials for the service provider.\r\n\r\nNote: You must have an account with the service provider. You'll use the same account credentials required by the service provider to order services."
          },
          "preferences": {
            "$ref": "#/components/schemas/preferences"
          }
        },
        "required": [
          "entityRef",
          "name",
          "options",
          "credentials"
        ],
        "examples": [
          {
            "Product": {
              "entityRef": {
                "entityRef": {
                  "entityId": "string",
                  "entityType": "string"
                }
              }
            },
            "name": "string",
            "options": {
              "digiCert": true,
              "requestType": "string",
              "reportOn": "string",
              "reportType": "string",
              "creditReportIdentifier": "string",
              "creditSubReportType": "string",
              "note": "string",
              "excludeZeroforImportLiabilities": true,
              "creditBureauExperian": true,
              "creditBureauEquifax": true,
              "creditBureauTransUnion": true,
              "ficoScore": true,
              "fraudSearch": true
            },
            "credentials": {
              "userName": "string",
              "password": "string",
              "providerID": "string",
              "subscriberID": "string"
            },
            "preferences": {
              "importLiabilities": true,
              "excludeZeroforImportLiabilities": true
            }
          }
        ]
      },
      "entityRef": {
        "type": "object",
        "title": "entityRef",
        "properties": {
          "entityId": {
            "type": "string",
            "description": "The entity identifier. For example:\r\n- For Credit: {loanId}#{borrowerId}\r\n- For all other service orders use: {loanId}"
          },
          "entityType": {
            "type": "string",
            "description": "The type of entity expressed in URN format. For example:\r\n- For Credit: urn:elli:encompass:{loan}:{borrower}\r\n- For all other service orders use: urn:elli:encompass:{loan}"
          }
        },
        "examples": [
          {
            "entityRef": {
              "entityId": "string",
              "entityType": "string"
            }
          }
        ],
        "x-examples": {
          "Example 1": {
            "product": {
              "entityRef": {
                "entityId": "c4757124-5078-4f62-86a8-630ff5208745#_borrower1",
                "entityType": "urn:elli:encompass:loan:borrower"
              },
              "name": "CREDITIQ",
              "options": {
                "digiCert": true,
                "requestType": "NewRequest",
                "reportOn": "Joint",
                "reportType": "Merge",
                "creditReportIdentifier": "",
                "note": "",
                "excludeZeroforImportLiabilities": true,
                "creditBureauExperian": "Y",
                "creditBureauEquifax": "Y",
                "creditBureauTransUnion": "Y"
              },
              "credentials": {
                "userName": "testing",
                "password": "partner"
              },
              "preferences": {
                "importAllLiabilities": "true",
                "excludeZeroBalances": "true"
              }
            }
          }
        }
      },
      "optionsCreditReport": {
        "type": "object",
        "title": "optionsCreditReport",
        "description": "The parameters defined by the options object will be different depending on the service provider you choose.",
        "properties": {
          "digiCert": {
            "type": "boolean",
            "description": "Determines how to authenticate to CoreLogic Credco and TransUnion.\r\n- true - Credit partner requires private key certificate along with TLS.\r\n- false - Credit partner doesn’t require additional certificate."
          },
          "requestType": {
            "type": "string",
            "description": "Indicates the request type being submitted. Possible values are NewOrder and Reissue."
          },
          "reportOn": {
            "type": "string",
            "description": "Possible values are:\r\n- Individual - Requests a report on one borrower.\r\n- Joint - Requests reports on both borrowers."
          },
          "reportType": {
            "type": "string",
            "description": "Type of credit report. Possible values are:\r\n- Merge - Instant Merge credit report.\r\n- Prequal- Softpull/Prequalification credit report.\r\n- PreApproval- Softpull credit report with additional data."
          },
          "creditReportIdentifier": {
            "type": "string",
            "description": "Identifier assigned by the credit partner. It is returned in the response and is required to reissue or update a report."
          },
          "creditSubReportType": {
            "type": "string",
            "description": "Optional. MeridianLink affiliates use only. When a credit report is ordered through Encompass Developer Connect, use this attribute to enter a credit report value that will get mapped to the partner’s USECASE_NAME field in Encompass as if the user had selected a use case in the Encompass user interface."
          },
          "note": {
            "type": "string",
            "description": "Comment or note to add to the request."
          },
          "excludeZeroforImportLiabilities": {
            "type": "boolean",
            "description": "Whether to exclude zero liability balances from future credit report import files."
          },
          "creditBureauExperian": {
            "type": "boolean",
            "description": "A value of true indicates the request is submitted to Experian."
          },
          "creditBureauEquifax": {
            "type": "boolean",
            "description": "A value of true indicates the request is submitted to Equifax."
          },
          "creditBureauTransUnion": {
            "type": "boolean",
            "description": "A value of true indicates the request is submitted to TransUnion."
          },
          "ficoScore": {
            "type": "boolean",
            "description": "Indicates whether to retrieve the credit score from the partner."
          },
          "fraudSearch": {
            "type": "boolean",
            "description": "Indicates whether to initiate a fraud search while retrieving the credit score."
          }
        }
      },
      "credentials": {
        "type": "object",
        "title": "credentials",
        "properties": {
          "userName": {
            "type": "string",
            "description": "Username for the service provider account.\r\n"
          },
          "clientID": {
            "type": "string",
            "description": "Client ID for the service provider account. \r\nNote: This attribute is applicable to Credit Partners in group #1 only. Required for Informative Research."
          },
          "password": {
            "type": "string",
            "description": "Password for the service provider account.\r\n"
          },
          "providerID": {
            "type": "string",
            "description": "Provider ID for the service provider accounts.\r\nNote: This attribute is applicable to Credit Partners in group #2 only."
          },
          "subscriberID": {
            "type": "string",
            "description": "Subscriber ID for the service provider account.\r\nNote: This attribute is applicable to Partners in group #2 only."
          }
        }
      },
      "preferences": {
        "type": "object",
        "title": "preferences",
        "properties": {
          "importLiabilities": {
            "type": "boolean",
            "description": "When set to **true**, imports all liabilities.\r\nWhen set to **false**, no liabilities are imported."
          },
          "excludeZeroforImportLiabilities": {
            "type": "boolean",
            "description": "Whether to exclude zero liability balances from silent liability import files."
          }
        }
      },
      "orderFNMAAUS": {
        "type": "object",
        "title": "Order FNMA AUS",
        "properties": {
          "entityRef": {
            "$ref": "#/components/schemas/entityRef",
            "description": "References the entity ID and entity type."
          },
          "name": {
            "type": "string",
            "description": "The product name to order. Possible values are provided in the Partner Information table below, under Product Name - Resource_Transaction and Product Name - Resource.\r\n\r\nExample: AUS-DU or AUS-EC-PU"
          },
          "credentials": {
            "$ref": "#/components/schemas/credentialsFNMA",
            "description": "Object that encapsulates credentials and/or verification information with the AUS provider."
          },
          "options": {
            "$ref": "#/components/schemas/optionsFNMA",
            "description": "The parameters defined by the options object will be different depending on the service provider you choose."
          },
          "preferences": {
            "$ref": "#/components/schemas/preferencesFNMA",
            "description": "Object that encapsulates user preferences for service specific functionality."
          },
          "resources": {
            "$ref": "#/components/schemas/resources"
          }
        },
        "required": [
          "entityRef",
          "name",
          "credentials",
          "options"
        ]
      },
      "credentialsFNMA": {
        "type": "object",
        "title": "credentialsFNMA",
        "properties": {
          "userName": {
            "type": "string",
            "description": "Username for the service provider account.\r\n"
          },
          "password": {
            "type": "string",
            "description": "Account username for credit provider with whom credit will be reissued as part of the underwriting service request."
          },
          "institutionId": {
            "type": "string",
            "description": "Optional. The ID that Fannie Mae assigns to identify and authenticate your institution on their underwriting platform. To retrieve your DU institution ID, please contact Fannie Mae."
          },
          "creditProviderUserName": {
            "type": "string",
            "description": "Account username for credit provider with whom credit will be reissued as part of the underwriting service request.\r\n"
          },
          "creditProviderPassword": {
            "type": "string",
            "description": "Account password for credit provider with whom credit will be reissued as part of the underwriting service request."
          }
        }
      },
      "optionsFNMA": {
        "type": "object",
        "title": "optionsFNMA",
        "properties": {
          "requestType": {
            "type": "string",
            "description": "The type of underwriting request to place with the AUS provider. This can be a request or resubmission of an existing request. For the latter, you need to pass identifier(s) for the existing request on the AUS providers platform.\r\n\r\nPossible values are:\r\n\r\n- newOrder - place a new underwriting service request for the referenced loan.\r\n\r\n- resubmit - resubmit an underwriting service request for the referenced loan.Note: For a resubmit request, a reference to an existing underwriting service request must be passed via the: options.ausReportIdentifier and options.ausReportLoanIdentifier attributes.\r\noptions.ausReportLoanIdentifier is the LPA Loan ID. It is not required, but it should be passed if available.\r\n"
          },
          "ausReportIdentifier": {
            "type": "string",
            "description": "- Conditionally Required. The identifier for an existing request on the AUS provider's platform. This attribute is required when requesting a resubmission of an existing underwriting request.\r\n\r\n- If newOrder is passed as the value for the requestType attribute, this field will be ignored."
          },
          "creditProviderCode": {
            "type": "string",
            "description": "- AUS provider's identifier for the credit service provider that processed the credit service request(s) for the subject loan. This attribute must be provided so that the AUS provider can access the borrower credit report and process the underwriting service request.\r\n\r\n- Select the provider code for your Credit service provider by referring to AUS Credit Provider Codes."
          },
          "orderCreditDetails": {
            "type": "object",
            "description": "Object array that encapsulates details of the various credit service requests that were placed during the life of the loan (up to the point where underwriting is being requested). Each single object in the array refers to a single credit service request.",
            "properties": {
              "applicationID": {
                "type": "string",
                "description": "Reference to the borrower pair within the loan in whose context this credit service request was placed.\r\n\r\nIf using V1 Get Loan, then the id in the Application/Borrower Object can be used for the borrower and the altid can be used in the Application/CoBorrower Object for the co-borrower.\r\n\r\nIf using V3 Get Loan, then use the legacyId for the Borrower/CoBorrower Objects."
              },
              "creditReportIdentifier": {
                "type": "string",
                "description": "This is the identifier for the credit service request on the credit providers system. It is returned by the provider in the response of the credit service request."
              }
            }
          }
        }
      },
      "preferencesFNMA": {
        "type": "object",
        "title": "preferencesFNMA",
        "properties": {
          "importConditions": {
            "type": "boolean",
            "description": "Optional. Whether or not user to import the underwriting conditions specified by Fannie Mae in its underwriting report returned in their response."
          },
          "conditionType": {
            "type": "string",
            "description": "Optional. Specific type of underwriting conditions to import.\r\n\r\nPossible values are:\r\n\r\n- preliminary\r\n- underwriting \r\n\r\nIf a type is not specified, the condition type defaults to preliminary."
          }
        }
      },
      "resources": {
        "type": "object",
        "title": "resources",
        "properties": {
          "entityId": {
            "type": "string",
            "description": "**Optional**.The entity identifier for the resource.\r\n\r\nIf the resource you are passing is an eFolder attachment, the **attachmentId** is required.\r\n\r\nIf the resource you are passing is an eFolder document, the **documentId** is required.\r\n\r\nYou can retrieve these from using the eFolder Attachments and eFolder Documents APIs."
          },
          "entityType": {
            "type": "string",
            "description": "Optional. The entity type/format of the resource. Possible values include:\r\n\r\n- For an Encompass eFolder attachment:\r\n    urn:elli:encompass:attachment\r\n\r\n- For and Encompass eFolder document:\r\n    urn:elli:encompass:document"
          }
        }
      },
      "orderFHLMCAUS": {
        "type": "object",
        "title": "Order FHLMC AUS",
        "properties": {
          "entityRef": {
            "$ref": "#/components/schemas/entityRef",
            "description": "References the entity ID and entity type. "
          },
          "name": {
            "type": "string",
            "description": "The product name to order. Possible values are provided in the Partner Information table below, under Product Name - Resource_Transaction and Product Name - Resource.\r\n\r\nExample: AUS-LPA, AUS-LQA-PU"
          },
          "credentials": {
            "$ref": "#/components/schemas/credentialsFHLMC",
            "description": "Object that encapsulates credentials and/or verification information with the AUS provider."
          },
          "options": {
            "$ref": "#/components/schemas/optionsFHLMC",
            "description": "The parameters defined by the options object will be different depending on the service provider you choose."
          },
          "preferences": {
            "$ref": "#/components/schemas/preferencesFHLMC",
            "description": "Object that encapsulates user preferences for service specific functionality."
          },
          "resources": {
            "$ref": "#/components/schemas/resources"
          }
        },
        "required": [
          "entityRef",
          "name",
          "credentials",
          "options"
        ]
      },
      "credentialsFHLMC": {
        "type": "object",
        "title": "credentialsFHLMC",
        "properties": {
          "userName": {
            "type": "string",
            "description": "Username for the service provider account.\r\n"
          },
          "password": {
            "type": "string",
            "description": "Password for the service provider account.\r\n"
          },
          "sellerServicerNumber": {
            "type": "string",
            "description": "Required. Organization identifier that Freddie Mac assigns to identify and authenticate your institution on their underwriting platform. To retrieve your LP Seller Service Number, contact Freddie Mac."
          },
          "tpoAccountIdentifier": {
            "type": "string",
            "description": "Conditionally Required. Identifies the third-party originator who is requesting the underwriting service via Encompass TPO Connect."
          },
          "branchID": {
            "type": "string",
            "description": "Optional. Branch identifier for the service provider account."
          },
          "creditProviderUserName": {
            "type": "string",
            "description": "Account username for credit provider with whom credit will be reissued as part of the underwriting service request."
          },
          "creditProviderPassword": {
            "type": "string",
            "description": "Account password for credit provider with whom credit will be reissued as part of the underwriting service request."
          }
        },
        "required": [
          "userName",
          "password",
          "sellerServicerNumber"
        ]
      },
      "optionsFHLMC": {
        "type": "object",
        "title": "optionsFHLMC",
        "properties": {
          "requestType": {
            "type": "string",
            "description": "The type of underwriting request to place with the AUS provider. This can be a request or resubmission of an existing request. For the latter, you need to pass identifier(s) for the existing request on the AUS providers platform.\r\n\r\nPossible values are:\r\n\r\n- newOrder - place a new underwriting service request for the referenced loan.\r\n\r\n- resubmit - resubmit an underwriting service request for the referenced loan.Note: For a resubmit request, a reference to an existing underwriting service request must be passed via the: options.ausReportIdentifier and options.ausReportLoanIdentifier attributes.\r\noptions.ausReportLoanIdentifier is the LPA Loan ID. It is not required, but it should be passed if available.\r\n"
          },
          "ausReportIdentifier": {
            "type": "string",
            "description": "- Conditionally Required. The identifier for an existing request on the AUS provider's platform. This attribute is required when requesting a resubmission of an existing underwriting request.\r\n\r\n- If newOrder is passed as the value for the requestType attribute, this field will be ignored."
          },
          "ausReportLoanIdentifier": {
            "type": "string",
            "description": "Conditionally Required. The identifier (LPA Loan ID) for an existing request on the AUS provider's platform. This attribute should be passed if it is available.\r\nIt is required when requesting a resubmission of an existing underwriting request.\r\n\r\nIf newOrder is passed as the value for the requestType attribute, this field will be ignored."
          },
          "creditProviderCode": {
            "type": "string",
            "description": "- AUS provider's identifier for the credit service provider that processed the credit service request(s) for the subject loan. This attribute must be provided so that the AUS provider can access the borrower credit report and process the underwriting service request.\r\n\r\n- Select the provider code for your Credit service provider by referring to AUS Credit Provider Codes."
          },
          "creditAffiliateCode": {
            "type": "string",
            "description": "Conditionally Required. This is an identifier for an affiliate of a credit provider on Freddie Mac's platform. This is a 3 digit code that must be passed along with the creditProviderCode attribute (identifying the Parent provider from the list above).\r\n\r\nRefer to Credit Provider Codes to select the affiliate code for your credit service provider."
          },
          "loanAttachments": {
            "type": "boolean",
            "description": "Boolean true/false"
          },
          "efolderAttachments": {
            "type": "boolean",
            "description": "Boolean true/false"
          },
          "orderCreditDetails": {
            "type": "array",
            "description": "Object array that encapsulates details of the various credit service requests that were placed during the life of the loan (up to the point where underwriting is being requested). Each single object in the array refers to a single credit service request.",
            "items": {
              "type": "object",
              "properties": {
                "applicationId": {
                  "type": "string",
                  "description": "Reference to the borrower pair within the loan in whose context this credit service request was placed.\r\n\r\nIf using V1 Get Loan, then the id in the Application/Borrower Object can be used for the borrower and the altid can be used in the Application/CoBorrower Object for the co-borrower.\r\n\r\nIf using V3 Get Loan, then use the legacyId for the Borrower/CoBorrower Objects."
                },
                "creditRequestActionType": {
                  "type": "string",
                  "description": "Possible values are:\r\n\r\n- Submit\r\n- Reissue"
                }
              }
            }
          }
        }
      },
      "preferencesFHLMC": {
        "type": "object",
        "title": "preferencesFHLMC",
        "properties": {
          "conditionType": {
            "type": "string",
            "description": "Optional. Specific type of underwriting conditions to import.\r\n\r\nPossible values are:\r\n\r\n- preliminary\r\n- underwriting \r\n\r\nIf a type is not specified, the condition type defaults to preliminary."
          }
        }
      },
      "retrieveReportFiles": {
        "type": "object",
        "title": "Retrieve Report Files",
        "properties": {
          "entityRef": {
            "$ref": "#/components/schemas/entityRef",
            "description": "References the entity ID and entity type. Both are returned by getLoan."
          },
          "name": {
            "type": "string",
            "description": "Name of the service to order. See the Partner Information section to get the correct name value for the partner; either the Transaction_Resource object or Transaction object name."
          },
          "options": {
            "$ref": "#/components/schemas/optionsRetrieveReport"
          }
        },
        "examples": [
          {
            "Product": {
              "entityRef": {
                "entityRef": {
                  "entityId": "string",
                  "entityType": "string"
                }
              }
            },
            "name": "string",
            "options": {
              "digiCert": true,
              "requestType": "string",
              "reportOn": "string",
              "reportType": "string",
              "creditReportIdentifier": "string",
              "creditSubReportType": "string",
              "note": "string",
              "excludeZeroforImportLiabilities": true,
              "creditBureauExperian": true,
              "creditBureauEquifax": true,
              "creditBureauTransUnion": true,
              "ficoScore": true,
              "fraudSearch": true
            },
            "credentials": {
              "userName": "string",
              "password": "string",
              "providerID": "string",
              "subscriberID": "string"
            },
            "preferences": {
              "importLiabilities": true,
              "excludeZeroforImportLiabilities": true
            }
          }
        ]
      },
      "optionsRetrieveReport": {
        "type": "object",
        "title": "optionsRetrieveReport",
        "description": "The parameters defined by the options object will be different depending on the service provider you choose.",
        "properties": {
          "requestType": {
            "type": "string",
            "description": "Required. Indicates the request type being submitted.\r\n- Value = RetrieveReportFiles"
          },
          "applicationID": {
            "type": "string",
            "description": "Optional. This is the Borrower_ID."
          },
          "reportIdentifier": {
            "type": "string",
            "description": "Required. DU Case Number. Applies to Fannie Mae DU only."
          },
          "loanAttachments": {
            "type": "string",
            "description": "Required. Reports attached to the loan."
          }
        },
        "required": [
          "requestType",
          "reportIdentifier",
          "loanAttachments"
        ]
      },
      "orderFHLMCAffordableCheck": {
        "type": "object",
        "title": "Order FHLMC Affordable Check",
        "properties": {
          "name": {
            "type": "string",
            "description": "Required. The product name to order.\r\n\r\n- Value is AUS-LPAffordableCheck"
          },
          "entityRef": {
            "$ref": "#/components/schemas/entityRef",
            "description": "References the entity ID and entity type. The loan ID is associated with the loan, Loan ID is returned by V3 Get Loan."
          },
          "credentials": {
            "$ref": "#/components/schemas/optionsFMAC",
            "description": "Object that encapsulates credentials and/or verification information with the AUS provider."
          },
          "options": {
            "$ref": "#/components/schemas/optionsFMAC",
            "description": "Important! The parameters defined by the options object will be different depending on the service provider you choose."
          },
          "clientEntity": {
            "$ref": "#/components/schemas/clientEntity",
            "description": "Object that encapsulates preferences for service specific functionality."
          }
        },
        "required": [
          "name",
          "entityRef",
          "credentials",
          "options"
        ]
      },
      "optionsFMAC": {
        "type": "object",
        "title": "optionsFMAC",
        "properties": {
          "requestType": {
            "type": "string",
            "description": "Required. Use the following in parameter value: NewOrder"
          },
          "requestId": {
            "type": "string",
            "description": "Required. Use the following in parameter value: {GUID generated by caller}\r\n"
          },
          "partyRoleType": {
            "type": "string",
            "description": "Required. Use the one of following values: **Broker**, **Seller**, **Servicer**, **Correspondent** or **Lender**\r\n"
          }
        },
        "required": [
          "requestType",
          "requestId",
          "partyRoleType"
        ]
      },
      "clientEntity": {
        "type": "object",
        "title": "clientEntity",
        "properties": {
          "configName": {
            "type": "string",
            "description": "Optional. Post order submission to Freddie Mac lower environment.\r\nValue: UAT.\r\n- Note: Please remove this attribute from your production submission contracts.\r\n"
          }
        }
      },
      "orderFHLMCDataShare": {
        "type": "object",
        "title": "Order FHLMC Datashare",
        "properties": {
          "name": {
            "type": "string",
            "description": "Required. The product name of the product to order.\r\n\r\n- For LCLA, value is AUS-LCLA\r\n- For LPA: AUS-LPA\r\n- For LQA: AUS-LQA"
          },
          "entityRef": {
            "$ref": "#/components/schemas/entityRef",
            "description": "References the entity ID and entity type. The loan ID is associated with the loan, Loan ID is returned by V3 Get Loan."
          },
          "credentials": {
            "$ref": "#/components/schemas/credentialsFHLMC",
            "description": "Object that encapsulates credentials and/or verification information with the AUS provider."
          },
          "options": {
            "$ref": "#/components/schemas/optionsFMDS",
            "description": "Important! The parameters defined by the options object will be different depending on the service provider you choose.\r\n"
          },
          "clientEntity": {
            "$ref": "#/components/schemas/clientEntityFMDS",
            "description": "Object that encapsulates preferences for service specific functionality.\r\n"
          }
        },
        "required": [
          "name",
          "entityRef",
          "credentials",
          "options"
        ]
      },
      "optionsFMDS": {
        "type": "object",
        "title": "optionsFMAC",
        "properties": {
          "requestType": {
            "type": "string",
            "description": "Required. Use the following in parameter value for retrieving DataShare Documents.\r\n\r\n- For LCLA: Use GetLCLADataShare\r\n- For LPA: Use GetLPADataShare\r\n- For LQA: Use GetLQADataShare"
          },
          "ausReportIdentifier": {
            "type": "string",
            "description": "Required. The LPA Key Number for an existing order (available from the previous order).\r\nExample: A1234567."
          }
        },
        "required": [
          "requestType",
          "ausReportIdentifier"
        ]
      },
      "clientEntityFMDS": {
        "type": "object",
        "title": "clientEntityFMDS",
        "properties": {
          "configName": {
            "type": "string",
            "description": "Optional. Post order submission to Freddie Mac lower environment.\r\nValue: QA.\r\n- Note: Please remove this attribute from your production submission contracts.\r\n"
          }
        }
      },
      "responseDetail": {
        "type": "object",
        "title": "responseDetail"
      },
      "resourcesResponse": {
        "type": "array",
        "title": "resourcesResponse",
        "items": {
          "type": "object",
          "properties": {
            "id": {
              "type": "string",
              "description": "Resource ID. Example: FNMA-EarlyCheck.htm"
            },
            "name": {
              "type": "string",
              "description": "Resource name. Example: EARLYCHECKRESULTS_HTML"
            },
            "mimeType": {
              "type": "string",
              "description": "Example: text/html"
            },
            "elli-signature": {
              "type": "string",
              "description": "Signature"
            },
            "url": {
              "type": "string",
              "description": "Example: https://media-pod0-int.elliemae.com/v2/media/instance/DEBE11170913/loans/67ba8596-2943-479a-a0fa-6a80a89608cc/files/FNMA-EarlyCheck.htm?tokencreator=Encompass&tokenexpires=1581313904&token=zhtgEa9U2DuIRpNo8dARcAWgUfuDENMGZKbQcat0mn5Z3jlfAe0CzwKnSGMuLqeWbunLz58Elih4hc4L5%2bLEXQ%3d%3d\""
            }
          }
        }
      },
      "documentsResponse": {
        "type": "object",
        "title": "documentsResponse",
        "properties": {
          "id": {
            "type": "string",
            "description": "Unique identifier for the eFolder document.\r\nFor example: a9183608-2a32-4b1e-aa57-5603ff8eab5"
          },
          "name": {
            "type": "string",
            "description": "Name of the eFolder document."
          },
          "attachments": {
            "type": "array",
            "description": "Collection of eFolder attachments associated with the response document.",
            "items": {
              "type": "object",
              "properties": {
                "name": {
                  "type": "string",
                  "description": "Attachment name."
                },
                "mimeType": {
                  "type": "string",
                  "description": "Attachment mime type. Example: \"emmedia/pdf\""
                },
                "content": {
                  "type": "object",
                  "properties": {
                    "createdDateTime": {
                      "type": "string",
                      "description": "Created date/time."
                    },
                    "tokenCreator": {
                      "type": "string",
                      "description": "Token Creator."
                    },
                    "storageType": {
                      "type": "string",
                      "description": "Storage Type. Example: MediaServer"
                    },
                    "storageEnv": {
                      "type": "string",
                      "description": "Storage environment. Example: PROD"
                    },
                    "attachmentFile": {
                      "type": "string",
                      "description": "Attachment file name. Examle: Attachment-85ce44c4-1bee-4738-b9d4-1a7b27daf24f.pdf"
                    }
                  }
                }
              }
            }
          },
          "": {
            "type": "string"
          }
        }
      },
      "productResponse": {
        "type": "object",
        "title": "productResponse",
        "properties": {
          "partnerId": {
            "type": "string",
            "description": "The unique ICE Mortgage Technology identifier for the Partner service provider with whom the service request was placed."
          },
          "productName": {
            "type": "string",
            "description": "The name of the product for which the service request was placed. For example: AUS-DU."
          },
          "displayName": {
            "type": "string",
            "description": "The Encompass application (SmartClient/LO Connect/NG) display name of the product for which the service request was placed."
          },
          "category": {
            "type": "string",
            "description": "Reference metadata for the Encompass entity in whose context the service request was placed. This may be a reference to an individual borrower or a loan in its entirety."
          },
          "entityRef": {
            "type": "object",
            "description": "Reference metadata for the Encompass entity in whose context the service request was placed. This may be a reference to an individual borrower or a loan in its entirety.",
            "properties": {
              "entityId": {
                "type": "string",
                "description": "Unique identifier for the Encompass entity in whose context the service request was placed."
              },
              "entityType": {
                "type": "string",
                "description": "The type of Encompass entity in whose context the service request was placed. For example:\r\nurn:elli:encompass:{loanId} or urn:elli:encompass:{loanId}:{borrowerId}"
              }
            }
          },
          "creationDate": {
            "type": "string",
            "description": "Creation date/time."
          },
          "lastUpdatedDate": {
            "type": "string",
            "description": "Last updated date/time."
          },
          "orderedBy": {
            "type": "string",
            "description": "Service ordered by in URN format. Example: The unique identifier for the eFolder attachment that is needed to retrieve the attachment using the eFolder APIs\r\nFor example: \"urn:elli:encompass:{instanceId}:user:{username}\""
          }
        }
      }
    }
  },
  "x-readme": {
    "explorer-enabled": false,
    "proxy-enabled": true
  },
  "_id": {
    "buffer": {
      "0": 104,
      "1": 196,
      "2": 159,
      "3": 126,
      "4": 151,
      "5": 57,
      "6": 186,
      "7": 106,
      "8": 144,
      "9": 201,
      "10": 26,
      "11": 181
    }
  }
}
```