Adds a new structured address service
post
/service/structuredaddressservice
This endpoint is used to add a new structured address service.
Request
Supported Media Types
- application/json
- application/xml
Request Body that contains data required for creating a new structuredaddressservice
Nested Schema : StructuredAddressServiceSaveDTO-allOf[0]
Type:
Show Source
object-
buildingName:
string
Maximum Length:
35building Name -
buildingNumber:
string
Maximum Length:
16Building Number -
countrySubDivision:
string
Maximum Length:
35Country Sub Division -
department:
string
Maximum Length:
70Department -
districtName:
string
Maximum Length:
35District name -
floor:
string
Maximum Length:
70Floor -
postbox:
string
Maximum Length:
16postbox -
postcode(required):
string
Maximum Length:
16postcode -
room:
string
Maximum Length:
70Room -
streetName:
string
Maximum Length:
70Street Name -
strrCountry(required):
string
Maximum Length:
2country -
subDepartment:
string
Maximum Length:
70Sub Department -
townLocationName:
string
Maximum Length:
35Town Location Name -
townName(required):
string
Maximum Length:
35Town Name -
virtualAccountNo(required):
string
Minimum Length:
1Maximum Length:35Account number of the External customer
Response
Supported Media Types
- application/json
- text/csv
- application/xml
201 Response
Returns message of succes or failure
Headers
-
Location: string
URL of newly created structuredaddressservice
Nested Schema : StructuredAddressServiceDTO
Type:
Show Source
object-
buildingName:
string
building Name
-
buildingNumber:
string
Building Number
-
countrySubDivision:
string
Country Sub Division
-
department:
string
Department
-
districtName:
string
District name
-
floor:
string
Floor
-
postbox:
string
postbox
-
postcode(required):
string
postcode
-
room:
string
Room
-
streetName:
string
Street Name
-
strrCountry(required):
string
Maximum Length:
2country -
subDepartment:
string
Sub Department
-
townLocationName:
string
Town Location Name
-
townName(required):
string
Town Name
-
virtualAccountNo:
string
Virtual Account Number
400 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