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 | |
DeviceId | Header | string | No | |
AppId | Header | string | Yes |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ApiKey | header | string | Yes | This is your AIM API Key provided by Tri-Tech |
OAuthToken | header | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | long | No | |
Delivered | form | bool | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Desc | form | string | No | |
Price | form | decimal | No | |
Type | form | string | No | |
CatNum | form | int | No | |
Sku | form | string | No | |
Report | form | bool? | No |
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","DeviceId":"String","AppId":"String","ApiKey":"String","OAuthToken":"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"}}