Update person mobile number
PUT /api/v1/PersonNumber/Update
Description
This endpoint is used to update a person mobile number.
Tags: PersonNumber
URL:
/api/v{version}/PersonNumber/Update
ApiKey:
No API key required
Content-Type:
application/json, text/json, application/*+json
Query Parameters:
version: string, required
Accept-Language: header, optional, change the default response message language from English(en) to French(fr) or English(en)
Request Body:
UpdatePersonNumber
Response:
Success, returns a StringResponse object indicating the update was successful.
400: Bad Request
404: Not Found
Example:
/api/v1/PersonNumber/Update
Headers
| Content-Type | Value |
|---|---|
| Accept-Language |
Headers
| Content-Type | Value |
|---|---|
| Content-Type | application/json |
Headers
| Content-Type | Value |
|---|---|
| Accept | text/plain |
Body (raw)
{
"id": `<uuid>`,
"personId": `<uuid>`,
"mobileNumber": `<string>`,
"phoneNumberCode": `<string>`
}
Response: 200
{
"succeeded": `<boolean>`,
"message": `<string>`,
"errors": [
`<string>`,
`<string>`
],
"data": `<string>`
}
Response: 400
{
"succeeded": `<boolean>`,
"message": `<string>`,
"errors": [
`<string>`,
`<string>`
],
"data": `<string>`
}
Response: 404
{
"succeeded": `<boolean>`,
"message": `<string>`,
"errors": [
`<string>`,
`<string>`
],
"data": `<string>`
}
LANGUAGE
CURL REQUEST
curl --request PUT \
--url /api/v1/PersonNumber/Update \
--header 'accept: application/json' \
--header 'content-type: application/json'
RESPONSE
Click Try It! to start a request and see the response here!