AIM Web Services

<back to all web services

History360Request

History360
Requires active-e Customer Service.

The following routes are available for this service:
GET/api/History360
History360Request Parameters:
NameParameterData TypeRequiredDescription
CustomerAccountqueryintNo
IncludeInvoicesqueryboolNo
IncludeOrdersqueryboolNo
IncludeWorkOrdersqueryboolNo
IncludeContractsqueryboolNo
IncludeClosedqueryboolNo
ClosedStartDatequeryDateTime?No
BaseSecureRequest Parameters:
NameParameterData TypeRequiredDescription
TokenHeaderstringNo
DeviceIdHeaderstringNo
AppIdHeaderstringYes
BaseRequest Parameters:
NameParameterData TypeRequiredDescription
ApiKeyheaderstringYesThis is your AIM API Key provided by Tri-Tech
OAuthTokenheaderstringNo
History360Response Parameters:
NameParameterData TypeRequiredDescription
InvoicesformList<Invoice360>No
OrdersformList<Order360>No
WorkOrdersformList<WorkOrder360>No
ContractsformList<Contract360>No
BaseResponse Parameters:
NameParameterData TypeRequiredDescription
StatusbodyBaseResponseResultNo
BaseResponseResult Parameters:
NameParameterData TypeRequiredDescription
StatusCodebodystringNo
LoginbodystringNo
ErrorCodebodystringNo
ErrorDisplayTextbodystringNo
ErrorMessagebodystringNo
DomainNamebodystringNo
IpAddressbodystringNo
Invoice360 Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
DueDateformDateTime?No
TotalformdecimalNo
StatusformstringNo
AmountPaidformdecimalNo
LateFeeAmountformdecimalNo
PurchaseDateformDateTimeNo
StoreLocationIdformint?No
ItemsformList<Item360>No
Item360 Parameters:
NameParameterData TypeRequiredDescription
PslrIdformlong?No
QuantityformdecimalNo
PriceformdecimalNo
TotalDiscountAmountformdecimalNo
SerialNumberformstringNo
ConditionformstringNo
Order360 Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
DateformDateTimeNo
DiscountformdecimalNo
PaymentTypeformstringNo
SubTotalformdecimalNo
TaxformdecimalNo
ShippingAmountformdecimalNo
TotalformdecimalNo
WorkOrder360 Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
StatusformstringNo
DepositformdecimalNo
StoreLocationIdformint?No
CreationDateformDateTimeNo
CompletedDateformDateTime?No
PriceformdecimalNo
JobsformList<Job360>No
Job360 Parameters:
NameParameterData TypeRequiredDescription
ItemIdformstringNo
ItemTypeformstringNo
TitleformstringNo
QuantityformdecimalNo
PriceformdecimalNo
TotalDiscountAmountformdecimalNo
SerialNumberformstringNo
ConditionformstringNo
Contract360 Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
PaymentDateformDateTimeNo
StoreLocationIdformint?No
AmountDueformdecimalNo
LateFeeformdecimalNo
ContractStatusformstringNo
AmountformdecimalNo
ContractItemsformList<Item360>No

To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /api/History360 HTTP/1.1 
Host: active-ewebservice.biz 
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<History360Response 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>
  <Contracts>
    <Contract360>
      <Amount>0</Amount>
      <AmountDue>0</AmountDue>
      <ContractItems>
        <Item360>
          <Condition>String</Condition>
          <Price>0</Price>
          <PslrId>0</PslrId>
          <Quantity>0</Quantity>
          <SerialNumber>String</SerialNumber>
          <TotalDiscountAmount>0</TotalDiscountAmount>
        </Item360>
      </ContractItems>
      <ContractStatus>String</ContractStatus>
      <Id>String</Id>
      <LateFee>0</LateFee>
      <PaymentDate>0001-01-01T00:00:00</PaymentDate>
      <StoreLocationId>0</StoreLocationId>
    </Contract360>
  </Contracts>
  <Invoices>
    <Invoice360>
      <AmountPaid>0</AmountPaid>
      <DueDate>0001-01-01T00:00:00</DueDate>
      <Id>String</Id>
      <Items>
        <Item360>
          <Condition>String</Condition>
          <Price>0</Price>
          <PslrId>0</PslrId>
          <Quantity>0</Quantity>
          <SerialNumber>String</SerialNumber>
          <TotalDiscountAmount>0</TotalDiscountAmount>
        </Item360>
      </Items>
      <LateFeeAmount>0</LateFeeAmount>
      <PurchaseDate>0001-01-01T00:00:00</PurchaseDate>
      <Status>String</Status>
      <StoreLocationId>0</StoreLocationId>
      <Total>0</Total>
    </Invoice360>
  </Invoices>
  <Orders>
    <Order360>
      <Date>0001-01-01T00:00:00</Date>
      <Discount>0</Discount>
      <Id>0</Id>
      <PaymentType>String</PaymentType>
      <ShippingAmount>0</ShippingAmount>
      <SubTotal>0</SubTotal>
      <Tax>0</Tax>
      <Total>0</Total>
    </Order360>
  </Orders>
  <WorkOrders>
    <WorkOrder360>
      <CompletedDate>0001-01-01T00:00:00</CompletedDate>
      <CreationDate>0001-01-01T00:00:00</CreationDate>
      <Deposit>0</Deposit>
      <Id>String</Id>
      <Jobs>
        <Job360>
          <Condition>String</Condition>
          <ItemId>String</ItemId>
          <ItemType>String</ItemType>
          <Price>0</Price>
          <Quantity>0</Quantity>
          <SerialNumber>String</SerialNumber>
          <Title>String</Title>
          <TotalDiscountAmount>0</TotalDiscountAmount>
        </Job360>
      </Jobs>
      <Price>0</Price>
      <Status>String</Status>
      <StoreLocationId>0</StoreLocationId>
    </WorkOrder360>
  </WorkOrders>
</History360Response>