Page History
Ennek a metódusnak a segítségével több címet tud szétbontani.
Elérési út | /mailer/recognition-result/batch |
Http művelet | POST |
Kérés objektum | BatchMailerAddressRecognitionRequest |
Válasz objektum | BatchMailerAddressRecognitionResponse |
Lehetséges válaszkódok |
|
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{ "addressRecognitionRequestsAddressRecognitionRequests": [ { "fullAddressFullAddress": "This is an invalid address", "consignmentIdentifierConsignmentIdentifier": { "orderIdOrderId": "1", "consignmentIdConsignmentId": "1" }, "expectedPostDateExpectedPostDate": "2017-09-2010-02T22:00:00Z" }, { "fullAddressFullAddress": "Dunaújváros Verebély u. 8 2400", "consignmentIdentifierConsignmentIdentifier": { "orderIdOrderId": "1", "consignmentIdConsignmentId": "2" }, "expectedPostDateExpectedPostDate": "2017-09-2110-03T22:00:00Z" } ] } |
Code Block | ||||
---|---|---|---|---|
| ||||
{ "addressRecognitionResults": [ { "id": 4, 9141703, "consignmentIdentifier": { "orderId": "1", "consignmentId": "1", "asOneLineString": "orderId: [1], consignmentId: [1]" }, "structuredAddress": null, "probability": 0.0, "recognitionFailureReason": "INTERNALINVALID_SERVERADDRESS_ERRORFORMAT", "successfullyRecognized": false }, { "id": 9141705, "consignmentIdentifier": { "orderId": "1", "consignmentId": "2", "asOneLineString": "orderId: [1], consignmentId: [2]" }, "structuredAddress": { "name": null, "city": "Dunaújváros", "street": { "name": "Verebély", "type": "u", "number": "8", "building": null, "stairway": null, "floor": null, "door": null, "postBox": null }, "zipCode": "2400", "countryCode": "HU" }, "probability": 94.34476897998643, "recognitionFailureReason": null, "successfullyRecognized": true } ] } |
...
Overview
Content Tools