GET api/getCustomerLevadress?kundNr={kundNr}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| kundNr | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of angularCustomerAddress| Name | Description | Type | Additional information |
|---|---|---|---|
| customerNumber | string |
None. |
|
| kundNamn | string |
None. |
|
| adress1 | string |
None. |
|
| adress2 | string |
None. |
|
| postNr | string |
None. |
|
| postAdress | string |
None. |
|
| id | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"customerNumber": "sample string 1",
"kundNamn": "sample string 2",
"adress1": "sample string 3",
"adress2": "sample string 4",
"postNr": "sample string 5",
"postAdress": "sample string 6",
"id": 7
},
{
"customerNumber": "sample string 1",
"kundNamn": "sample string 2",
"adress1": "sample string 3",
"adress2": "sample string 4",
"postNr": "sample string 5",
"postAdress": "sample string 6",
"id": 7
}
]
text/html
Sample:
[{"customerNumber":"sample string 1","kundNamn":"sample string 2","adress1":"sample string 3","adress2":"sample string 4","postNr":"sample string 5","postAdress":"sample string 6","id":7},{"customerNumber":"sample string 1","kundNamn":"sample string 2","adress1":"sample string 3","adress2":"sample string 4","postNr":"sample string 5","postAdress":"sample string 6","id":7}]
application/xml, text/xml
Sample:
<ArrayOfangularCustomerAddress xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/webapi.Controllers">
<angularCustomerAddress>
<adress1>sample string 3</adress1>
<adress2>sample string 4</adress2>
<customerNumber>sample string 1</customerNumber>
<id>7</id>
<kundNamn>sample string 2</kundNamn>
<postAdress>sample string 6</postAdress>
<postNr>sample string 5</postNr>
</angularCustomerAddress>
<angularCustomerAddress>
<adress1>sample string 3</adress1>
<adress2>sample string 4</adress2>
<customerNumber>sample string 1</customerNumber>
<id>7</id>
<kundNamn>sample string 2</kundNamn>
<postAdress>sample string 6</postAdress>
<postNr>sample string 5</postNr>
</angularCustomerAddress>
</ArrayOfangularCustomerAddress>
multipart/form-data
Sample:
<ArrayOfangularCustomerAddress xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/webapi.Controllers"><angularCustomerAddress><adress1>sample string 3</adress1><adress2>sample string 4</adress2><customerNumber>sample string 1</customerNumber><id>7</id><kundNamn>sample string 2</kundNamn><postAdress>sample string 6</postAdress><postNr>sample string 5</postNr></angularCustomerAddress><angularCustomerAddress><adress1>sample string 3</adress1><adress2>sample string 4</adress2><customerNumber>sample string 1</customerNumber><id>7</id><kundNamn>sample string 2</kundNamn><postAdress>sample string 6</postAdress><postNr>sample string 5</postNr></angularCustomerAddress></ArrayOfangularCustomerAddress>