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/ServiceTicketFullDetails HTTP/1.1
Host: active-ewebservice.biz
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<ServiceTicketFullDetailsResponse 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>
<Tickets>
<TicketInfo>
<ApprovedAmount>0</ApprovedAmount>
<ApprovedDate>0001-01-01T00:00:00</ApprovedDate>
<BillToCustomerAcct>0</BillToCustomerAcct>
<BillToCustomerName>String</BillToCustomerName>
<BilledDate>0001-01-01T00:00:00</BilledDate>
<Category>0</Category>
<CategoryDescription>String</CategoryDescription>
<Contact>String</Contact>
<Deposits>
<DepositInfo>
<Amount>0</Amount>
<OriginalAmount>0</OriginalAmount>
<RefNumber>String</RefNumber>
</DepositInfo>
</Deposits>
<Invoiced>false</Invoiced>
<Item>String</Item>
<ItemDescription>String</ItemDescription>
<Manufacturer>String</Manufacturer>
<MasterNumber>String</MasterNumber>
<Model>String</Model>
<Notes>String</Notes>
<PoNumber>String</PoNumber>
<RefNumber>String</RefNumber>
<ReturnAuthorizationNumber>String</ReturnAuthorizationNumber>
<Services>
<ServiceInfo>
<Category>0</Category>
<CategoryDescription>String</CategoryDescription>
<Completed>false</Completed>
<CompletedDate>0001-01-01T00:00:00</CompletedDate>
<Description>String</Description>
<Discount>0</Discount>
<Id>0</Id>
<Notes>String</Notes>
<Parts>
<PartInfo>
<Category>0</Category>
<CategoryDescription>String</CategoryDescription>
<Description>String</Description>
<Discount>0</Discount>
<Notes>String</Notes>
<Price>0</Price>
<Quantity>0</Quantity>
<Sku>String</Sku>
<Total>0</Total>
</PartInfo>
</Parts>
<Quantity>0</Quantity>
<Rate>0</Rate>
<Technician>String</Technician>
<Time>0</Time>
<TimerActive>false</TimerActive>
<TimerStartTime>0001-01-01T00:00:00</TimerStartTime>
<Total>0</Total>
</ServiceInfo>
</Services>
<ShipToId>0</ShipToId>
<ShipToName>String</ShipToName>
<SoldToCustomerAcct>0</SoldToCustomerAcct>
<SoldToCustomerName>String</SoldToCustomerName>
<StLoc>String</StLoc>
<Status>String</Status>
<SubCategory>0</SubCategory>
<SubCategoryDescription>String</SubCategoryDescription>
<Subtotal>0</Subtotal>
<Tax1>0</Tax1>
<Tax2>0</Tax2>
<TaxLoc>String</TaxLoc>
<Terms>0</Terms>
<Timestamp>0001-01-01T00:00:00</Timestamp>
<TotalDue>0</TotalDue>
</TicketInfo>
</Tickets>
</ServiceTicketFullDetailsResponse>