Update an existing structured address
put
/structuredaddress/{id}
This endpoint is used to update an existing structured address.
Request
Supported Media Types
- application/json
- application/xml
Path Parameters
-
id: string
key of the structuredaddress Maintenance
Request Body that contains data required for updating an existing structuredaddress
Nested Schema : GenericDto
Match All
Show Source
-
object
GenericDto-allOf[0]
Discriminator:
resource_type
Nested Schema : GenericDto-allOf[0]
Type:
objectDiscriminator:
resource_typeNested Schema : StructuredAddressDTO-allOf[1]
Type:
Show Source
object-
buildingName(optional):
string
Maximum Length:
35building Name -
buildingNumber(optional):
string
Maximum Length:
16Building Number -
countrySubDivision(optional):
string
Maximum Length:
35Country Sub Division -
custAccountNo:
string
Minimum Length:
1Maximum Length:35Pattern:[a-zA-Z0-9]+Account number of the External customer -
department(optional):
string
Maximum Length:
70Department -
districtName(optional):
string
Maximum Length:
35District name -
floor(optional):
string
Maximum Length:
70Floor -
postbox(optional):
string
Maximum Length:
16postbox -
postcode:
string
Maximum Length:
16postcode -
room(optional):
string
Maximum Length:
70Room -
streetName(optional):
string
Maximum Length:
70Street Name -
strrCountry:
string
Maximum Length:
2country -
subDepartment(optional):
string
Maximum Length:
70Sub Department -
townLocationName(optional):
string
Maximum Length:
35Town Location Name -
townName:
string
Maximum Length:
35Town Name
Response
Supported Media Types
- application/json
- application/xml
200 Response
Returns updated structuredaddress
Nested Schema : ResponseResourceSupport
Type:
objectNested Schema : items
Type:
object400 Response
Malformed syntax.
401 Response
Request does not have sufficient credentials.
403 Response
Request is not authorized.
405 Response
Invalid input
500 Response
Internal error