| POST | /api/ContractFulfillment | ||
|---|---|---|---|
| POST | /api/C2BSetContractSerial |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Ref | body | string | No | |
| Serial | body | string | No | |
| SerialPk | body | long? | No | |
| CashPrice | body | decimal? | No | |
| NewStatus | body | string | No | |
| Notes | body | string | No | |
| DeliveryDate | body | DateTime? | No | |
| DeliveredAccessories | body | List<DeliveredAccessory> | No | |
| DeletedAccessoryIds | body | List<long> | No | |
| AddedAccessories | body | List<Accessory> | No | |
| FirstDue | body | DateTime? | No | |
| CustomerAcct | body | int? | No | |
| Unlock | body | bool | No | |
| MassUpdateItems | body | List<UpdateContractObj> | 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 |
|---|---|---|---|---|
| Id | form | long | No | |
| Delivered | form | bool | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Desc | body | string | Yes | The description to be used for the Accessory |
| Price | body | decimal | No | The price to be used for the Accessory |
| Type | body | string | No | The type of Accessory. A is Accessory, D is Delivery Option, and M is Maintenance |
| CatNum | body | int | No | The category # in AIM to be linked to this accessory. |
| Sku | body | string | No | A SKU or Package Deal package SKU can be sent here to link the accessory to that SKU or package. |
| Report | body | bool | No | Internal Use Only |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Ref | form | string | No | |
| Serial | form | string | No | |
| SerialPk | form | long? | No | |
| CashPrice | form | decimal? | No | |
| NewStatus | form | string | No | |
| Notes | form | string | No | |
| DeliveryDate | form | DateTime? | No | |
| DeliveredAccessories | form | List<DeliveredAccessory> | No | |
| DeletedAccessoryIds | form | List<long> | No | |
| AddedAccessories | form | List<Accessory> | No | |
| FirstDue | form | DateTime? | No | |
| NewCustomerAcct | form | int? | No | |
| Unlock | form | bool | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| MassUpdateErrors | form | List<UpdateContractErrorObj> | 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 |
|---|---|---|---|---|
| Ref | form | string | 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/ContractFulfillment HTTP/1.1
Host: active-ewebservice.biz
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"Ref":"String","Serial":"String","SerialPk":0,"CashPrice":0,"NewStatus":"String","Notes":"String","DeliveryDate":"0001-01-01T00:00:00.0000000","DeliveredAccessories":[{"Id":0,"Delivered":false}],"DeletedAccessoryIds":[0],"AddedAccessories":[{"Desc":"String","Price":0,"Type":"String","CatNum":0,"Sku":"String","Report":false}],"FirstDue":"0001-01-01T00:00:00.0000000","CustomerAcct":0,"Unlock":false,"MassUpdateItems":[{"Ref":"String","Serial":"String","SerialPk":0,"CashPrice":0,"NewStatus":"String","Notes":"String","DeliveryDate":"0001-01-01T00:00:00.0000000","DeliveredAccessories":[{"Id":0,"Delivered":false}],"DeletedAccessoryIds":[0],"AddedAccessories":[{"Desc":"String","Price":0,"Type":"String","CatNum":0,"Sku":"String","Report":false}],"FirstDue":"0001-01-01T00:00:00.0000000","NewCustomerAcct":0,"Unlock":false}],"Token":"String","ApiKey":"String","OAuthToken":"String","DeviceId":"String","AppId":"String"}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
{"MassUpdateErrors":[{"Ref":"String","ErrorMessage":"String"}],"Status":{"StatusCode":"String","Login":"String","ErrorCode":"String","ErrorDisplayText":"String","ErrorMessage":"String","DomainName":"String","IpAddress":"String"}}