GET api/Misc/IsZipCodeInServiceArea?ZipCode={ZipCode}&CompanyCode={CompanyCode}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
ZipCode

string

Required

String length: inclusive between 0 and 5

CompanyCode

string

Required

String length: inclusive between 0 and 5

Body Parameters

None.

Request Formats

text/json, application/json

Sample:
Request sample for request 

--------------------------------------------------------------------------------------------------------------------------------

{
  "ZipCode": "sample string 1",
  "CompanyCode": "sample string 2"
}

--------------------------------------------------------------------------------------------------------------------------------


text/xml, application/xml

Sample:
Request sample for request 

--------------------------------------------------------------------------------------------------------------------------------

<ZipCodeRequest xmlns="http://schemas.datacontract.org/2004/07/AHC.WebServices.WebAPI.DTOs" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <CompanyCode>sample string 2</CompanyCode>
  <ZipCode>sample string 1</ZipCode>
</ZipCodeRequest>

--------------------------------------------------------------------------------------------------------------------------------


Response Information

Resource Description

Collection of ZipCodeResponse
NameDescriptionTypeAdditional information
IsZipCodeInServiceArea

boolean

None.

Response Formats

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

Sample:

--------------------------------------------------------------------------------------------------------------------------------

Response type is Task`1.It's propertises are System.Web.Http.IHttpActionResult Result,System.Threading.Tasks.TaskFactory`1[System.Web.Http.IHttpActionResult] Factory,System.Int32 Id,System.AggregateException Exception,System.Threading.Tasks.TaskStatus Status,System.Boolean IsCanceled,System.Boolean IsCompleted,System.Threading.Tasks.TaskCreationOptions CreationOptions,System.Object AsyncState,System.Boolean IsFaulted.Sample is not available.

--------------------------------------------------------------------------------------------------------------------------------