Service: Get Component Codes
HTTP Method: GET
https://app.myfilerunner.com/api/v1/service/getComponentCodes/{locationCode}/{filingCodeId}/{default}
Gets component codes.
Header parameters
Name | Type | Description |
---|---|---|
client-token Required | String | API key provided by MyFileRunner admin. |
Body parameters
This server request does not require body parameters.
Example request
curl -H "client-token: api-mfr-0123456789abcdef0123456789ABCDEF" -H "content-type: Application/JSON" https://app.myfilerunner.com/api/v1/service/getComponentCodes/bexar:dc37x/56041
curl --header "client-token: api-mfr-0123456789abcdef0123456789ABCDEF" --header "content-type: Application/JSON" https://app.myfilerunner.com/api/v1/service/getComponentCodes/bexar:dc37x/56041
fetch("https://app.myfilerunner.com/api/v1/service/getComponentCodes/bexar:dc37x/56041", {
"method": "GET",
"mode": "cors",
"headers": {
"client-token": "api-mfr-0123456789abcdef0123456789ABCDEF",
"content-type": "Application/JSON",
},
"body": {
// This server request does not require body parameters.
}
}).then((response) => { response.JSON() })
.then((data) => {
//...
});
Example response
{
"success": true,
"data": [
{
"code": "332",
"name": "Lead Document",
"required": 1,
"allowmultiple": 0
},
{
"code": "331",
"name": "Attachments",
"required": 0,
"allowmultiple": 1
}
]
}