Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Next »

Submits a batch of customer addresses to check for coverage.

The caller will get a handle, called a UUID, back to refer to the batch when invoking FetchAddressCheckV2.

SubmitAddressCheckRequest

Field
Description
Example
Data typeSize
Count
productProduct name for the unit.

BREV

varchar101
customerSystemName of the customer system for the unit.

STRAA

varchar51
batchIdClient-side identifier for the unit (may be empty). --1
customerAddress

Describes a customer address to be checked for coveage.
See detailed description of the addressCoverage entity below.

 --1 - 10'000

CustomerAddress

Field
Description
Example
Data typeSize
Count

ReferanceId

Customer identifier. Must be unique within the customerSystem.

 

varchar371
Date

The date of when the product should be delivered to local terminal. This is values is optional.

Specify only when time of delivery is known and the date.

 smalldatetime160 - 1
customerName

Customer name.

Pedersen Tor

varchar601
countryCodeThe country of the address.

NO

char21
postalNameCity / place of the address.

Oslo

varchar301
zipCodeZip code of the address.0186int101
address

Customer address.

This can include street, house number, entrance and appartment number.

Christian Krohgs gate 54 B H0204varchar601
co

CO address of the customer, if any.

 varchar2550 - 1

SubmitAddressCheckResponse

Field
Description
Example
Count
uuid

Unique identifier for the processing unit, obtained in the response for the SUBMIT (SubmitAddressCheckV2) action.

388f70cd-3e0c-4be6-a51a-35f32e7e96d9

1
status

Describes the current status of the unit.

Processing states
Error states

QUEUED

REJECTED_BUSY

INPROGRESS

 

See more detailed descriptions of the states below.

INPROGRESS

1
secondsDelay

A hint from the server that may be provided if the server known when the status of the unit is likely to change. Defaults to two minutes.

The client should provide reasonable min, max and default values for the delay.

1201

Status codes

The service will return one of the below status codes.

QUEUED

This processing states means that the batch has been received by service, and it is waiting to be processed.

INPROGRESS

This processing states means that the batch has been received by the service and is currently being processed.

REJECTED_BUSY

This error state means that the system is overloaded, and that the processing queue is full. Try again later.

 

  • No labels