GET api/PriceAndAvailability?custId={custId}&divCode={divCode}&partNumber={partNumber}&quantity={quantity}&isByPassErrorEmail={isByPassErrorEmail}

Gets price and availability for the specified part and quantity for the specified customer identifier and division code.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
custId

The customer identifier.

string

Required

divCode

The div code.

integer

Required

partNumber

The part number.

string

Required

quantity

The quantity.

integer

Required

isByPassErrorEmail

boolean

Default value is False

Body Parameters

None.

Request Formats

text/plain

Sample:
api/PriceAndAvailability?custId=001717&divCode=0&partNumber=LCLD&quantity=1

Response Information

Resource Description

JsonResultOfReturnStatus
NameDescriptionTypeAdditional information
Content

ReturnStatus

None.

SerializerSettings

JsonSerializerSettings

None.

Encoding

Encoding

None.

Request

HttpRequestMessage

None.

Response Formats

application/json

Sample:
{
    "IsSucceeded":true,
    "State":"Succeeded",
    "Message":"Success",
    "Count":1,
    "Result":[
        {
                "City":"CHESTERTOWN",
            "State":"MD",
            "PartNumber":"LCLD",
            "ListPrice":12.5000,
            "NetPrice":4.1300,
            "OnHand":0,
            "CanShip":true,
            "Description":"FLUORESCENT YELLOW LEAK DETECTOR. FULL BOX QUANTITY IS 1.",
            "WebCustomer":true,
            "Discount":0.0200,
            "DiscNetPrice":4.0500
        }
    ],
    "IsContactRequired":false
}

text/json

Sample:

Sample not available.