GET api/Zipcodes/GetPage?page={page}&perpage={perpage}&parentid={parentid}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
page

integer

Required

perpage

integer

Required

parentid

integer

None.

Body Parameters

None.

Response Information

Resource Description

PageContainerOfZipcode
NameDescriptionTypeAdditional information
Count

integer

None.

List

Collection of Zipcode

None.

Response Formats

application/json, text/json

Sample:
{
  "Count": 1,
  "List": [
    {
      "Code": "sample string 1",
      "Location": "sample string 2",
      "Id": 3,
      "ModifiedDate": "2025-05-30T20:34:37.4814609-04:00",
      "CreatedDate": "2025-05-30T20:34:37.4814609-04:00",
      "Disabled": true
    },
    {
      "Code": "sample string 1",
      "Location": "sample string 2",
      "Id": 3,
      "ModifiedDate": "2025-05-30T20:34:37.4814609-04:00",
      "CreatedDate": "2025-05-30T20:34:37.4814609-04:00",
      "Disabled": true
    }
  ]
}

text/xml

Sample:
<PageContainerOfZipcode1HkJ1w54 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Domain.Core">
  <Count>1</Count>
  <List xmlns:d2p1="http://schemas.datacontract.org/2004/07/Domain.Zipcode">
    <d2p1:Zipcode>
      <CreatedDate>2025-05-30T20:34:37.4814609-04:00</CreatedDate>
      <Disabled>true</Disabled>
      <Id>3</Id>
      <ModifiedDate>2025-05-30T20:34:37.4814609-04:00</ModifiedDate>
      <d2p1:Code>sample string 1</d2p1:Code>
      <d2p1:Location>sample string 2</d2p1:Location>
    </d2p1:Zipcode>
    <d2p1:Zipcode>
      <CreatedDate>2025-05-30T20:34:37.4814609-04:00</CreatedDate>
      <Disabled>true</Disabled>
      <Id>3</Id>
      <ModifiedDate>2025-05-30T20:34:37.4814609-04:00</ModifiedDate>
      <d2p1:Code>sample string 1</d2p1:Code>
      <d2p1:Location>sample string 2</d2p1:Location>
    </d2p1:Zipcode>
  </List>
</PageContainerOfZipcode1HkJ1w54>