| POST, GET | /api/SerialDetail |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Pk | query | integer | No | The PK being used for lookup. Do not use if Serial is passed in. |
| Serial | query | string | No | The Serial# being used for lookup. Do not use if Pk is passed in. |
| SkipImages | body | bool | No | |
| CustomerAcct | query | integer | No | If sent, the Customer Acct will be used for customer specific pricing. |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Token | Header | string | No | The Login Token return by the Security API. Required for secured calls. |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ApiKey | Header | string | Yes | This is your AIM API Key provided by Tri-Tech |
| OAuthToken | Header | string | Yes | The OAuthToken token return by AeServices30 |
| DeviceId | Header | string | No | The Device ID of the Mobile Device. Not used for non-mobile devices. |
| AppId | Header | string | Yes | An identifier for your integration |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| SasPk | form | long | No | |
| Serial | form | string | No | |
| SaqPk | form | long | No | |
| LocPk | form | long | No | |
| Location | form | string | No | |
| SkuPk | form | long | No | |
| SKU | form | string | No | |
| SadPk | form | long | No | |
| Model | form | string | No | |
| Details | form | InventoryDetailBySerial | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Status | body | BaseResponseResult | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| StatusCode | body | string | No | |
| Login | body | string | No | |
| ErrorCode | body | string | No | |
| ErrorDisplayText | body | string | No | |
| ErrorMessage | body | string | No | |
| DomainName | body | string | No | |
| IpAddress | body | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| SasPk | form | long | No | |
| Serial | form | string | No | |
| Retail | form | decimal | No | |
| OurPrice | form | decimal | No | |
| SalePrice | form | decimal? | No | |
| Status | form | string | No | |
| SaleInfo | form | string | No | |
| PriceA | form | decimal | No | |
| PriceB | form | decimal | No | |
| PriceC | form | decimal | No | |
| MinPrice | form | decimal | No | |
| ActiveEPrice | form | decimal | No | |
| AllowPriceChange | form | bool | No | |
| Cost | form | decimal? | No | |
| WeightedCost | form | decimal? | No | |
| Notes | form | string | No | |
| Attributes | form | List<InventoryDetailAttribute> | No | |
| Images | form | List<ImageInfo> | No | |
| HasImages | form | bool | No | |
| IsActiveeHoldback | form | bool | No | |
| CustomerAcct | form | int? | No | |
| AvailableForSTR | form | bool | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Name | form | string | No | |
| Value | form | string | No | |
| Priority | form | int | No | |
| WebType | query | int | No | 1 is 'Don't Send to Web', 2 is 'Send To Web' |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Url | form | string | No | |
| ImageStream | form | string | No | |
| ImageSize | form | string | No | |
| ErrorMessage | form | string | No | |
| UriPk | form | long? | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /api/SerialDetail HTTP/1.1
Host: active-ewebservice.biz
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<SerialDetailRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AIM.WebService">
<ApiKey>String</ApiKey>
<AppId>String</AppId>
<DeviceId>String</DeviceId>
<OAuthToken>String</OAuthToken>
<Token>String</Token>
<CustomerAcct>0</CustomerAcct>
<Pk>0</Pk>
<Serial>String</Serial>
<SkipImages>false</SkipImages>
</SerialDetailRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<SerialDetailResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AIM.WebService">
<Status>
<DomainName>String</DomainName>
<ErrorCode>String</ErrorCode>
<ErrorDisplayText>String</ErrorDisplayText>
<ErrorMessage>String</ErrorMessage>
<IpAddress>String</IpAddress>
<Login>String</Login>
<StatusCode>String</StatusCode>
</Status>
<Details i:nil="true" />
<LocPk>0</LocPk>
<Location>String</Location>
<Model>String</Model>
<SKU>String</SKU>
<SadPk>0</SadPk>
<SaqPk>0</SaqPk>
<SasPk>0</SasPk>
<Serial>String</Serial>
<SkuPk>0</SkuPk>
</SerialDetailResponse>