Http API: GetPrice and GetAvailability

This article describes the GetPrice and GetAvailability API calls.

GetPrice

URI

/GetPrice

URL Structure

https://host/api/Order/GetPrice

HTTP Method

GET/GetPrice

Default format

JSON

Description

Signifikant will call the GetPrice function once user views a part in gallery or expands a part row. Call will contain part, user and customer information.

JSON structure sample

RequestUri

https://host/API/Order/GetAvailability?partNumber=16456290&cultureCode=en-GB&UserName=sign&UserId=sign

Response

{ "Prices": [ { "Available": null, "Currency": "USD", "PartNumber": "16456290", "Quantity": null, "QuantityUnit": null, "Price": 2268.5504, "PriceLabel": null, "TotalPrice": 2268.5504, "TotalPriceLabel": null, "PriceInformations": [ { "Hidden": false, "Code": "BRUTTOPRICE", "Description": null, "ValueFormat": null, "Value": 3544.61, "StatusCode": "", "Message": null, "HtmlMessage": null, "Properties": [] }, { "Hidden": false, "Code": "ABSOLUTEDISCOUNT", "Description": null, "ValueFormat": "Discount {0:C}", "Value": 1276.0596, "StatusCode": "", "Message": null, "HtmlMessage": null, "Properties": [] }, { "Hidden": false, "Code": "DISCOUNT", "Description": { "ResolveMode": 1, "Value": null, "Key": "Discount", "Id": null, "PersistentIdentity": null, "Translations": null, "HtmlEncode": false }, "ValueFormat": "{0:0.##}%", "Value": 36.0, "StatusCode": "", "Message": null, "HtmlMessage": null, "Properties": [] } ], "TotalPriceInformations": [ { "Hidden": false, "Code": "SECIAL", "Description": { "ResolveMode": 1, "Value": "Special price", "Key": null, "Id": null, "PersistentIdentity": null, "Translations": null, "HtmlEncode": false }, "ValueFormat": null, "Value": null, "StatusCode": "", "Message": null, "HtmlMessage": null, "Properties": [] } ], "StatusCode": "", "Message": null, "HtmlMessage": null, "Properties": [] } ], "StatusCode": "", "Message": null, "HtmlMessage": null, "Properties": [] }


GetAvailability

URI

/GetAvailability

URL Structure

https://host/api/Order/GetAvailability

HTTP Method

GET/GetAvailability

Default format

JSON

Description

Signifikant will call the GetAvailability function once user views a part in gallery or expands a part row. Call will contain part, user and customer information.

JSON structure sample

RequestUri

https://host/API/Order/GetAvailability?partNumber=1634235&cultureCode=en-GB&UserName=sign&UserId=sign

Response

Configuration

Configuration is done in profile.config