POST api/Service/GetCustomerAddresses

Request Information

URI Parameters

None.

Body Parameters

CustomerAddressesRequest
NameDescriptionTypeAdditional information
Input

CustomerAddressesInputModel

None.

Request Formats

application/json, text/json

Sample:
{
  "Input": {
    "CustomerID": "sample string 1",
    "UserNo": 2
  }
}

application/xml, text/xml

Sample:
<CustomerAddressesRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BizMate.BizLayer">
  <Input>
    <CustomerID>sample string 1</CustomerID>
    <UserNo>2</UserNo>
  </Input>
</CustomerAddressesRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

CustomerAddressesResponse
NameDescriptionTypeAdditional information
OutPut

CustomerAddressesOutPutModel

None.

Response Formats

application/json, text/json

Sample:
{
  "OutPut": {
    "Success": true,
    "Message": "sample string 2",
    "CustomerAddresses": {
      "CustomerAddressesInfo": [
        {
          "AddressID": "sample string 1",
          "FirstName": "sample string 2",
          "LastName": "sample string 3",
          "Address1": "sample string 4",
          "Address2": "sample string 5",
          "Country": "sample string 6",
          "City": "sample string 7",
          "Phone1": "sample string 8",
          "Fax": "sample string 9",
          "Email": "sample string 10",
          "Type": "sample string 11",
          "Department": "sample string 12"
        },
        {
          "AddressID": "sample string 1",
          "FirstName": "sample string 2",
          "LastName": "sample string 3",
          "Address1": "sample string 4",
          "Address2": "sample string 5",
          "Country": "sample string 6",
          "City": "sample string 7",
          "Phone1": "sample string 8",
          "Fax": "sample string 9",
          "Email": "sample string 10",
          "Type": "sample string 11",
          "Department": "sample string 12"
        }
      ]
    }
  }
}

application/xml, text/xml

Sample:
<CustomerAddressesResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BizMate.BizLayer">
  <OutPut>
    <CustomerAddresses>
      <CustomerAddressesInfo>
        <CustomerAddressesModel>
          <Address1>sample string 4</Address1>
          <Address2>sample string 5</Address2>
          <AddressID>sample string 1</AddressID>
          <City>sample string 7</City>
          <Country>sample string 6</Country>
          <Department>sample string 12</Department>
          <Email>sample string 10</Email>
          <Fax>sample string 9</Fax>
          <FirstName>sample string 2</FirstName>
          <LastName>sample string 3</LastName>
          <Phone1>sample string 8</Phone1>
          <Type>sample string 11</Type>
        </CustomerAddressesModel>
        <CustomerAddressesModel>
          <Address1>sample string 4</Address1>
          <Address2>sample string 5</Address2>
          <AddressID>sample string 1</AddressID>
          <City>sample string 7</City>
          <Country>sample string 6</Country>
          <Department>sample string 12</Department>
          <Email>sample string 10</Email>
          <Fax>sample string 9</Fax>
          <FirstName>sample string 2</FirstName>
          <LastName>sample string 3</LastName>
          <Phone1>sample string 8</Phone1>
          <Type>sample string 11</Type>
        </CustomerAddressesModel>
      </CustomerAddressesInfo>
    </CustomerAddresses>
    <Message>sample string 2</Message>
    <Success>true</Success>
  </OutPut>
</CustomerAddressesResponse>