curl --request POST \
--url 'http://serverroot/tmf-api/openid/v4/credit-application-api/v1/submit?fields=string' \
--header 'Authorization: string' \
--header 'accept: application/json;charset=utf-8' \
--header 'content-type: application/json;charset=utf-8' \
--data '
{
"userInfo": {
"birthdate": "1970-11-02",
"family_name": "Doe",
"given_name": "Steven",
"address": {
"id": "ADDRESS-ID-100001",
"postcode": "98021",
"stateOrProvince": "WA",
"addressCharacteristic": [
{
"name": "addressLine1",
"value": "9927 BRENTLINGER LANE"
}
]
},
"legalId": [
{
"identificationId": "666602764",
"identificationType": "SocialSecurityNumber"
}
]
},
"channel": {
"id": "SelfService",
"name": "SelfService",
"role": "Customer"
},
"relatedParty": {
"id": "INDIVIDUAL-ID-00001",
"@referredType": "Individual"
}
}
'