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.
POST /xml/reply/GetErrorData HTTP/1.1
Host: equipstage2.e-isg.com
Content-Type: application/xml
Content-Length: length
<GetErrorData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eQuipModel">
<TableName>String</TableName>
<UserID>String</UserID>
</GetErrorData>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<GetErrorDataResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eQuipModel">
<ColumnCollection>
<Column>
<AssetMappedFieldID>0</AssetMappedFieldID>
<Disable>false</Disable>
<FieldDataSource xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:ArrayOfKeyValueOfstringanyType>
<d4p1:KeyValueOfstringanyType>
<d4p1:Key>String</d4p1:Key>
<d4p1:Value />
</d4p1:KeyValueOfstringanyType>
</d4p1:ArrayOfKeyValueOfstringanyType>
</FieldDataSource>
<FieldId>0</FieldId>
<IsEditable>false</IsEditable>
<IsInlineEditWF>false</IsInlineEditWF>
<IsMaxLength>false</IsMaxLength>
<MaxLengthCount>0</MaxLengthCount>
<Required>false</Required>
<TableType>String</TableType>
<TextLength>0</TextLength>
<UseMultiSelect>false</UseMultiSelect>
<ValueListType>0</ValueListType>
<command>String</command>
<decimals>0</decimals>
<editor>String</editor>
<expandable>false</expandable>
<field>String</field>
<filterable>false</filterable>
<format>String</format>
<headerTemplate>String</headerTemplate>
<lockable>false</lockable>
<locked>false</locked>
<selectable>false</selectable>
<sortable>false</sortable>
<template>String</template>
<title>String</title>
<type>String</type>
<valueList>false</valueList>
<width>200</width>
</Column>
</ColumnCollection>
<ErrorData>
<AssetErrorData>
<AssetCategoryID>0</AssetCategoryID>
<AssetCategoryName>String</AssetCategoryName>
<AssetConditionID>0</AssetConditionID>
<AssetDescription>String</AssetDescription>
<AssetIDInternal>String</AssetIDInternal>
<AssetName>String</AssetName>
<AssetSerialNo>String</AssetSerialNo>
<AssetStatus>String</AssetStatus>
<AssetUsageID>0</AssetUsageID>
<Asset_UID>String</Asset_UID>
<AuditDate>0001-01-01T00:00:00</AuditDate>
<AuditStatus>String</AuditStatus>
<Barcode>String</Barcode>
<ConditionLabel>String</ConditionLabel>
<DataGatherID>0</DataGatherID>
<DateModified>0001-01-01T00:00:00</DateModified>
<DepartmentName>String</DepartmentName>
<ErrorId>0</ErrorId>
<IsActive>String</IsActive>
<LocationID>0</LocationID>
<LocationName>String</LocationName>
<Mfg>String</Mfg>
<Model>String</Model>
<OriginalPartNo>String</OriginalPartNo>
<POLine>0</POLine>
<POStatus>0</POStatus>
<PeopleID>0</PeopleID>
<PeopleName>String</PeopleName>
<Price>0</Price>
<PurchaseDate>0001-01-01T00:00:00</PurchaseDate>
<PurchaseOrderNo>String</PurchaseOrderNo>
<Quantity>0</Quantity>
<ScannerDeviceCode>0</ScannerDeviceCode>
<ShortageOverage>0</ShortageOverage>
<SiteID>0</SiteID>
<SiteName>String</SiteName>
<SubLocation>String</SubLocation>
<TableName>String</TableName>
<ThumbnailImage>AA==</ThumbnailImage>
<UsageLabel>String</UsageLabel>
<Vendor>String</Vendor>
</AssetErrorData>
</ErrorData>
</GetErrorDataResponse>