Update a specific pool
Path Parameters
- vaCode string required
- id integer required
- application/json
Request Body
- name string
- prefix string
- format string
- international_format string
- custom_format string
- numbers_to_replace string[]
Possible values: Value must match regular expression
^[0-9]{1,14}$
Responses
- 200
- 400
- 404
- application/json
- Schema
- Example (from schema)
Schema
- id integer
- name string
prefix object
prefix stringPossible values: Value must match regular expression
[1-9]{1,3}[0-9]+
description stringcountry string- format string
- international_format string
- custom_format string
- numbers_to_replace string[]
Possible values: Value must match regular expression
^[0-9]{1,14}$
{
"id": 1,
"name": "My first pool",
"prefix": {
"prefix": "441234",
"description": "01234 - Bedford",
"country": "GB"
},
"format": "0800 000 0000",
"international_format": "None",
"custom_format": "",
"numbers_to_replace": [
"441111222333",
"00302932323"
]
}
Validation error in request, details can be found in the body of the response
Url/Pool not found