List Case types
Lists all the case data types that match the specified query parameters.
Endpoint | http://<hostname>/bpm/case/v1/types?$top=100&$filter=isCase%20eq%20TRUE Request Method: GET |
Request Payload | N/A |
Response | [ { "name": "LoanApplication", "label": "Loan Application", "isCase": true, "namespace": "com.example.p2p", "applicationId": "com.example.p2p", "applicationMajorVersion": 1, "attributes": [ { "name": "loanapplicationId", "label": "Loan application Id", "type": "Text", "isIdentifier": true, "isAutoIdentifier": true, "isMandatory": true, "isSearchable": true, "isSummary": true }, { "name": "applicantdetails", "label": "Applicant details", "type": "Applicantdetails", "isStructuredType": true, "isMandatory": true }, { "name": "loanAmount", "label": "Loan Amount", "type": "FixedPointNumber", "constraints": { "length": 10, "decimalPlaces": 0 } }, { "name": "creditScore", "label": "Credit Score", "type": "FixedPointNumber", "constraints": { "length": 10, "decimalPlaces": 0 } }, { "name": "loanoffers", "label": "Loan Offers", "type": "LoanOffer", "isStructuredType": true, "isArray": true }, { "name": "acceptedoffer", "label": "Accepted Offer", "type": "LoanOffer", "isStructuredType": true }, { "name": "applicationDate", "label": "Application Date", "type": "Date" }, { "name": "applicationAccepted", "label": "Application Accepted", "type": "Boolean" }, { "name": "rejectedReason", "label": "Rejected Reason", "type": "Text", "constraints": { "length": 50 } }, { "name": "applicationState", "label": "Application State", "type": "Text", "isState": true, "isMandatory": true, "isSearchable": true, "isSummary": true } ], "summaryAttributes": [ { "name": "loanapplicationId", "label": "Loan application Id", "type": "Text", "isIdentifier": true, "isAutoIdentifier": true, "isMandatory": true, "isSearchable": true, "isSummary": true }, { "name": "applicationState", "label": "Application State", "type": "Text", "isState": true, "isMandatory": true, "isSearchable": true, "isSummary": true } ], "states": [ { "label": "Created", "value": "CREATED" }, { "label": "Application Rejected", "value": "APPLICATIONREJECTED", "isTerminal": true }, { "label": "Collecting offers", "value": "COLLECTINGOFFERS" }, { "label": "Offers Available", "value": "OFFERSAVAILABLE" }, { "label": "Loan Accepted", "value": "LOANACCEPTED", "isTerminal": true }, { "label": "Loan Rejected", "value": "LOANREJECTED", "isTerminal": true } ] } ] |