GET v1/Addresses?cicmpyId={cicmpyId}&cicntpId={cicntpId}&debtorType={debtorType}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
cicmpyId

integer

Required

cicntpId

integer

Required

debtorType

DebtorType

Required

Body Parameters

None.

Response Information

Resource Description

OrderAddressViewModel
NameDescriptionTypeAdditional information
DebtorType

DebtorType

None.

Name

string

None.

Address

string

None.

PostCode

string

None.

City

string

None.

Country

string

None.

ContactPersonName

string

None.

CicmpyId

integer

None.

CicntpId

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "DebtorType": 0,
  "Name": "sample string 1",
  "Address": "sample string 2",
  "PostCode": "sample string 3",
  "City": "sample string 4",
  "Country": "sample string 5",
  "ContactPersonName": "sample string 6",
  "CicmpyId": 1,
  "CicntpId": 1
}

application/xml, text/xml

Sample:
<OrderAddressViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Dealerportal.Shared.ViewModels.v1.Order">
  <Address>sample string 2</Address>
  <CicmpyId>1</CicmpyId>
  <CicntpId>1</CicntpId>
  <City>sample string 4</City>
  <ContactPersonName>sample string 6</ContactPersonName>
  <Country>sample string 5</Country>
  <DebtorType>Unassigned</DebtorType>
  <Name>sample string 1</Name>
  <PostCode>sample string 3</PostCode>
</OrderAddressViewModel>