Close the structured address by given Customer Account Number
patch
/service/structuredaddress/{custAccountNo}/close
This endpoint is used to close the structured address identified by given Customer Account Number.
Request
Supported Media Types
- application/json
- application/xml
Path Parameters
-
custAccountNo: string
Key of the structuredaddress maintenance
Header Parameters
-
sourceCode: string
Source from which request is initiated
Request body contain structuredaddress and Modification no of structuredaddress maintenance which need to be closed"
Response
Supported Media Types
- application/json
- application/xml
- text/csv
200 Response
Successful operation.
Nested Schema : GenericDto
Match All
Show Source
-
object
GenericDto-allOf[0]
Discriminator:
resource_type
Nested Schema : GenericDto-allOf[0]
Type:
object
Discriminator:
resource_type
Nested Schema : StructuredAddressDTO-allOf[1]
Type:
Show Source
object
-
buildingName(optional):
string
Maximum Length:
35
building Name -
buildingNumber(optional):
string
Maximum Length:
16
Building Number -
countrySubDivision(optional):
string
Maximum Length:
35
Country Sub Division -
custAccountNo:
string
Minimum Length:
1
Maximum Length:35
Pattern:[a-zA-Z0-9]+
Account number of the External customer -
department(optional):
string
Maximum Length:
70
Department -
districtName(optional):
string
Maximum Length:
35
District name -
floor(optional):
string
Maximum Length:
70
Floor -
postbox(optional):
string
Maximum Length:
16
postbox -
postcode:
string
Maximum Length:
16
postcode -
room(optional):
string
Maximum Length:
70
Room -
streetName(optional):
string
Maximum Length:
70
Street Name -
strrCountry:
string
Maximum Length:
2
country -
subDepartment(optional):
string
Maximum Length:
70
Sub Department -
townLocationName(optional):
string
Maximum Length:
35
Town Location Name -
townName:
string
Maximum Length:
35
Town Name
Nested Schema : items
Type:
object
400 Response
Malformed syntax.
401 Response
Request does not have sufficient credentials.
403 Response
Request is not authorized.
500 Response
Internal error