| POST | /api/SubmitPOSTransaction |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Acct | body | int? | No | |
| LocId | body | long? | No | |
| TaxId | body | long? | No | |
| Items | body | List<PosLineItem> | No | |
| TenderType | query | string | No | Can be CARD, CARD_DEVICE, CASH, CHARGE, SUSPEND, ONFILE, or OTHER |
| OtherTenderCategory | query | string | No | Only applicable for Tender Type of OTHER. Send the Payment Category # |
| CardToken | body | string | No | |
| CardExpiration | body | string | No | |
| TokenPk | body | long? | No | |
| SaveCard | body | bool | No | |
| PONumber | body | string | No | |
| TransactionMode | query | string | No | Can be INVOICE, PROPOSAL, APPROVAL, ORDER, or LOANER. Defaults to INVOICE is not sent. |
| Deposit | query | decimal | No | Only valid for Approvals and Orders. |
| Notes | body | string | No | |
| OnlineContractRef | query | string | No | Do Not Send This Parameter |
| ShipId | body | long? | No | |
| CardTerminalId | body | string | No |
| 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 |
|---|---|---|---|---|
| SkuPk | form | long? | No | |
| SasPk | form | long? | No | |
| Sku | form | string | No | |
| Serial | form | string | No | |
| Quantity | form | decimal | No | |
| ExceptionInfo | form | ExceptionInfo | No | |
| Discount | form | decimal? | No | |
| NicsCat | form | int? | No | |
| NicsSub | form | int? | No | |
| PriceOverride | form | decimal? | No | |
| AllowPriceOverrideToIgnoreMinPrice | form | bool | No | |
| Notes | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Barcode | form | string | No | |
| Description | form | string | No | |
| Base64Image | form | string | No | |
| Category | form | int | No | |
| SubCategory | form | int? | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| RefNumber | form | string | No | |
| ErrorItems | form | List<PosResponseItem> | 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 |
|---|---|---|---|---|
| PriceEach | form | decimal | No | |
| Price | form | decimal | No | |
| Discountable | form | bool | No | |
| ErrorMessage | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /api/SubmitPOSTransaction HTTP/1.1
Host: active-ewebservice.biz
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"Acct":0,"LocId":0,"TaxId":0,"Items":[{"SkuPk":0,"SasPk":0,"Sku":"String","Serial":"String","Quantity":0,"ExceptionInfo":{"Barcode":"String","Description":"String","Base64Image":"String","Category":0,"SubCategory":0},"Discount":0,"NicsCat":0,"NicsSub":0,"PriceOverride":0,"AllowPriceOverrideToIgnoreMinPrice":false,"Notes":"String"}],"TenderType":"String","OtherTenderCategory":0,"CardToken":"String","CardExpiration":"String","TokenPk":0,"SaveCard":false,"PONumber":"String","TransactionMode":"String","Deposit":0,"Notes":"String","OnlineContractRef":"String","ShipId":0,"CardTerminalId":"String","Token":"String","ApiKey":"String","OAuthToken":"String","DeviceId":"String","AppId":"String"}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
{"RefNumber":"String","ErrorItems":[{"PriceEach":0,"Price":0,"Discountable":false,"ErrorMessage":"String","SkuPk":0,"SasPk":0,"Sku":"String","Serial":"String","Quantity":0,"ExceptionInfo":{"Barcode":"String","Description":"String","Base64Image":"String","Category":0,"SubCategory":0},"Discount":0,"NicsCat":0,"NicsSub":0,"PriceOverride":0,"AllowPriceOverrideToIgnoreMinPrice":false,"Notes":"String"}],"Status":{"StatusCode":"String","Login":"String","ErrorCode":"String","ErrorDisplayText":"String","ErrorMessage":"String","DomainName":"String","IpAddress":"String"}}