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/GetGridFieldData HTTP/1.1
Host: equipstage2.e-isg.com
Content-Type: application/xml
Content-Length: length
<GetGridFieldData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eQuipModel">
<AssetID>0</AssetID>
<FieldID>String</FieldID>
<UserID>String</UserID>
</GetGridFieldData>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<GridFieldDataResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eQuipModel">
<FieldCollection>
<Field>
<Display>String</Display>
<DisplayMask>String</DisplayMask>
<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>
<Format>String</Format>
<H>0</H>
<Hidden>String</Hidden>
<ID>0</ID>
<IsAlias>false</IsAlias>
<IsEditForm>false</IsEditForm>
<IsLocked>false</IsLocked>
<IsMask>false</IsMask>
<IsParentAliasField>false</IsParentAliasField>
<LX>0</LX>
<LY>0</LY>
<Mandatory>String</Mandatory>
<MappingField>
<Column>
<AssetMappedFieldID>0</AssetMappedFieldID>
<Disable>false</Disable>
<FieldDataSource xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d6p1:ArrayOfKeyValueOfstringanyType>
<d6p1:KeyValueOfstringanyType>
<d6p1:Key>String</d6p1:Key>
<d6p1:Value />
</d6p1:KeyValueOfstringanyType>
</d6p1: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>
</MappingField>
<MappingFieldValidation 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>
</MappingFieldValidation>
<MappingPKField>String</MappingPKField>
<MappingTable>String</MappingTable>
<MappingTableDisplayReadOnly>false</MappingTableDisplayReadOnly>
<MaskEnd>0</MaskEnd>
<MaskStart>0</MaskStart>
<MaxLength>0</MaxLength>
<Name>String</Name>
<ParentFieldDefinitionID>0</ParentFieldDefinitionID>
<ReadOnly>String</ReadOnly>
<TabIndex>0</TabIndex>
<TableType>0</TableType>
<Text>String</Text>
<Type>0</Type>
<UseMultiSelect>0</UseMultiSelect>
<Value />
<ValueList>false</ValueList>
<W>0</W>
<X>0</X>
<Y>0</Y>
</Field>
</FieldCollection>
</GridFieldDataResponse>