POST API/Customer/ManageServieZipCodes?action={action}

Add new Zipcode (or) if the zipcode is existing it will add requestcount with increment 1

Request Information

URI Parameters

NameDescriptionTypeAdditional information
action

string

Required

Body Parameters

ServiceZipCodes
NameDescriptionTypeAdditional information
ZipCodeId

integer

None.

ZipCode

string

None.

ZipStatus

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "zipCodeId": 1,
  "zipCode": "sample string 1",
  "zipStatus": true
}

application/xml, text/xml

Sample:
<ServiceZipCodes xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BrownCow.Customer.EntityLayer">
  <ZipCode>sample string 1</ZipCode>
  <ZipCodeId>1</ZipCodeId>
  <ZipStatus>true</ZipStatus>
</ServiceZipCodes>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.