| POST | /update-profile |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| FirstName | body | string | No | |
| LastName | body | string | No | |
| Country | body | string | Yes | |
| Language | body | string | Yes | |
| BirthDate | body | string | No | |
| Address | body | string | No | |
| Address2 | body | string | No | |
| City | body | string | No | |
| State | body | string | No | |
| ZipCode | body | string | No | |
| PhoneNumber | body | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ResponseCode | form | int | No | |
| ResponseMessage | form | string | Yes |
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /update-profile HTTP/1.1
Host: portal-api.migrantleap.com
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"firstName":"String","lastName":"String","country":"String","language":"String","birthDate":"String","address":"String","address2":"String","city":"String","state":"String","zipCode":"String","phoneNumber":"String"}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
{"responseCode":0,"responseMessage":"String"}