UpdateClientAddress
- chitra.b (Unlicensed)
- Arsalan Hussain (Unlicensed)
Usage
Allows you to update a customer’s address details. Any existing address of the specified type held by Debitsuccess will be marked as AddressType = Previous and replaced by the address data supplied in this message.
Parameters
Name | Data Type | Length | Description | |
---|---|---|---|---|
User | ||||
| String | Required | Provided by Debitsuccess | |
| String | Required | Provided by Debitsuccess | |
RequestInitiator | String | 100 | Optional | Optional – allows requesting user to be logged |
AccountReferenceNo | String | 15 | Optional* | Debitsuccess account reference |
ExternalAccountReferenceNo | String | 50 | Optional* | External account reference |
NewAddress |
|
|
|
|
| Enum | Physical/Postal | ||
| String | 60 | ||
| String | 50 | Maximum length 50 characters | |
| String | 50 | Maximum length 50 characters | |
| Enum | |||
| Enum | Australia, NewZealand, UnitedStatesOfAmerica | ||
| String | 10 | Maximum length 10 characters | |
| Boolean | Customer’s preferred address (true or false) | ||
| String |
* At least one of the following parameters must be supplied: AccountReferenceNo, ExternalAccountReferenceNo
Response
Name | Data Type | Description |
---|---|---|
DateCreated | DateTime | Date/time message was processed |
Id | String | Unique ID for the message |
ResponseNotes () | Collection of validation messages | |
| String | |
| String | |
| Enum | Error, Warning, Info |
Status | Enum | Failed, Succeed, Unknown |
Error Message
Type | Error Code | Error Message |
---|---|---|
Error | 12027 | Missing Street parameter |
Error | 13016 | Invalid address type |
Error | 14123 | Street cannot exceed 60 characters. |
Error | 14124 | Locality cannot exceed 60 characters. |
Error | 14125 | City cannot exceed 50 characters. |
Error | 14126 | Suburb cannot exceed 50 characters. |
Error | 13203 | <Field name> field cannot be more than <maxlength> characters. |
Error | 12026 | Missing or invalid Postcode parameter |
Error | 13302 | Invalid State - please refer to the API documentation for valid values. |
Error | 12024 | Missing City parameter |
Error | 12025 | Missing Suburb parameter |
Error | 12028 | Missing State parameter |
Error | 12034 | Missing Locality parameter |
Error | 02 | Invalid user credentials |
Error | 12016 | Missing required reference number. Must provide either ExternalAccountReferenceNo or AccountReferenceNo or both. |
Error | 08 | There is no record found with this criteria |
Error | 10 | Account is not active |
Error | 07 | Multiple accounts found with this criteria |
Info | 00 | Success |
Related Pages
-
Page:
On this page:
PUT Address
© 2021 Debitsuccess. All rights reserved