-
Notifications
You must be signed in to change notification settings - Fork 40
/
Copy pathExperian Layout API.postman_collection.json
120 lines (120 loc) · 4.68 KB
/
Experian Layout API.postman_collection.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
{
"info": {
"_postman_id": "5101ef16-4781-46b0-b51e-0993e65137ba",
"name": "Experian Layout API",
"description": "Experian Layout API is the real time REST API that helps you to manage layouts for Experian Addresses Validation.",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
"name": "Create Layouts",
"request": {
"method": "POST",
"header": [
{
"key": "auth-token",
"value": "",
"type": "default"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\r\n \"layout\": {\r\n \"name\": \"TestLayoutGBR_030423\",\r\n \"comment\": \"TestLayoutGBR\",\r\n \"applies_to\": [\r\n {\r\n \"country_iso\": \"GBR\",\r\n \"datasets\": [\r\n \"gb-address\"\r\n ]\r\n }\r\n ],\r\n \"options\": {\r\n \"variation\": 1,\r\n \"flatten_diacritics\": false,\r\n \"enable_enhanced_layout\": false,\r\n \"display_enhanced_info_on_picklist\": false,\r\n \"enable_intelligent_layout\": false,\r\n \"capitalise_unused\": false,\r\n \"separate_elements\": true,\r\n \"element_separator\": {\r\n \"default\": \", \",\r\n \"configuration_by_element\": {\r\n \"buildingNumber\": \", ^ \",\r\n \"subBuildingNumber\": \", ^ \",\r\n \"postcode\": \" ^ \",\r\n \"deliveryPointSuffix\": \" ^ \",\r\n \"country\": \" ^ \",\r\n \"pafAddressKey\": \"^\",\r\n \"pafOrganisationKey\": \"^\"\r\n }\r\n },\r\n \"terminate_lines\": false,\r\n \"line_terminator\": {\r\n \"default\": \", \",\r\n \"configuration_by_element\": {\r\n \"postcode\": \"^\",\r\n \"deliveryPointSuffix\": \"^\",\r\n \"country\": \".^.\"\r\n }\r\n },\r\n \"pad_lines\": false,\r\n \"multiple_dataplus_delimiter\": \"|\",\r\n \"abbreviate_item\": [\r\n \"thoroughfareName\",\r\n \"county\"\r\n ],\r\n \"capitalise_item\": [\r\n \"postcode\",\r\n \"country\"\r\n ]\r\n },\r\n \"lines\": [\r\n {\r\n \"line_name\": \"Line 1\",\r\n \"max_width\": 255\r\n },\r\n {\r\n \"line_name\": \"Line 2\",\r\n \"max_width\": 255\r\n },\r\n {\r\n \"line_name\": \"Line 3\",\r\n \"max_width\": 255\r\n },\r\n {\r\n \"line_name\": \"Locality\",\r\n \"max_width\": 255,\r\n \"elements\": [\r\n {\r\n \"element_name\": \"town\"\r\n }\r\n ]\r\n },\r\n {\r\n \"line_name\": \"Region\",\r\n \"max_width\": 255\r\n },\r\n {\r\n \"line_name\": \"Postal Code\",\r\n \"max_width\": 255,\r\n \"elements\": [\r\n {\r\n \"element_name\": \"postcode\"\r\n }\r\n ]\r\n },\r\n {\r\n \"line_name\": \"Country\",\r\n \"max_width\": 255,\r\n \"elements\": [\r\n {\r\n \"element_name\": \"country\"\r\n }\r\n ]\r\n }\r\n ]\r\n }\r\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "https://api.experianaperture.io/address/layouts/v2",
"protocol": "https",
"host": [
"api",
"experianaperture",
"ioaddress"
],
"path": [
"layouts",
"v2"
]
}
},
"response": []
},
{
"name": "Get Layouts",
"request": {
"method": "GET",
"header": [
{
"key": "auth-token",
"value": "",
"type": "default"
},
{
"key": "Reference-id",
"value": "",
"type": "default",
"disabled": true
}
],
"url": {
"raw": "https://api.experianaperture.io/address/layouts/v2?country_iso=GBR",
"protocol": "https",
"host": [
"api",
"experianaperture",
"io"
],
"path": [
"address",
"layouts",
"v2"
],
"query": [
{
"key": "country_iso",
"value": "GBR"
}
]
}
},
"response": []
},
{
"name": "Get Layouts by name",
"request": {
"method": "GET",
"header": [
{
"key": "auth-token",
"value": "",
"type": "default"
}
],
"url": {
"raw": "https://api.experianaperture.io/address/layouts/v2/TestLayoutGBR_030423",
"protocol": "https",
"host": [
"api",
"experianaperture",
"io"
],
"path": [
"address",
"layouts",
"v2",
"TestLayoutGBR"
]
}
},
"response": []
}
]
}