HTTP + XML
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /xml/reply/GetCarInfoCarRequest HTTP/1.1
Host: s1-api.fource.nl
Content-Type: application/xml
Content-Length: length
<GetCarInfoCarRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/S1.Api.Domain.Models.Cars">
<Id>String</Id>
</GetCarInfoCarRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<GetCarInfoResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/S1.Api.Domain.Models.Cars">
<CarInfo>
<_x003C_ApkDate_x003E_k__BackingField>0001-01-01T00:00:00</_x003C_ApkDate_x003E_k__BackingField>
<_x003C_AutodataCarInfos_x003E_k__BackingField i:nil="true" />
<_x003C_BmfIdCode_x003E_k__BackingField>String</_x003C_BmfIdCode_x003E_k__BackingField>
<_x003C_CarModel_x003E_k__BackingField>String</_x003C_CarModel_x003E_k__BackingField>
<_x003C_CarType_x003E_k__BackingField>String</_x003C_CarType_x003E_k__BackingField>
<_x003C_DateAscription_x003E_k__BackingField>0001-01-01T00:00:00</_x003C_DateAscription_x003E_k__BackingField>
<_x003C_DateFirstAdmissionNL_x003E_k__BackingField>0001-01-01T00:00:00</_x003C_DateFirstAdmissionNL_x003E_k__BackingField>
<_x003C_DateFirstAdmission_x003E_k__BackingField>0001-01-01T00:00:00</_x003C_DateFirstAdmission_x003E_k__BackingField>
<_x003C_Description_x003E_k__BackingField>String</_x003C_Description_x003E_k__BackingField>
<_x003C_EngineCapacityInCC_x003E_k__BackingField>String</_x003C_EngineCapacityInCC_x003E_k__BackingField>
<_x003C_Engine_x003E_k__BackingField>String</_x003C_Engine_x003E_k__BackingField>
<_x003C_HsnTsn_x003E_k__BackingField>String</_x003C_HsnTsn_x003E_k__BackingField>
<_x003C_ImageUrl_x003E_k__BackingField>String</_x003C_ImageUrl_x003E_k__BackingField>
<_x003C_KTypeIds_x003E_k__BackingField xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
<_x003C_Kilowatt_x003E_k__BackingField>0</_x003C_Kilowatt_x003E_k__BackingField>
<_x003C_ManufacturerId_x003E_k__BackingField>String</_x003C_ManufacturerId_x003E_k__BackingField>
<_x003C_ManufacturerImageUrl_x003E_k__BackingField>String</_x003C_ManufacturerImageUrl_x003E_k__BackingField>
<_x003C_Manufacturer_x003E_k__BackingField>String</_x003C_Manufacturer_x003E_k__BackingField>
<_x003C_ModelId_x003E_k__BackingField>0</_x003C_ModelId_x003E_k__BackingField>
<_x003C_MonthOfProductionFrom_x003E_k__BackingField>0</_x003C_MonthOfProductionFrom_x003E_k__BackingField>
<_x003C_MonthOfProductionTo_x003E_k__BackingField>0</_x003C_MonthOfProductionTo_x003E_k__BackingField>
<_x003C_MotorCodes_x003E_k__BackingField xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
<_x003C_TecRmiIds_x003E_k__BackingField xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
<_x003C_TypeId_x003E_k__BackingField>0</_x003C_TypeId_x003E_k__BackingField>
<_x003C_VerifiedMotorCode_x003E_k__BackingField>String</_x003C_VerifiedMotorCode_x003E_k__BackingField>
<_x003C_Vin_x003E_k__BackingField>String</_x003C_Vin_x003E_k__BackingField>
<_x003C_YearOfProductionFrom_x003E_k__BackingField>0</_x003C_YearOfProductionFrom_x003E_k__BackingField>
<_x003C_YearOfProductionTo_x003E_k__BackingField>0</_x003C_YearOfProductionTo_x003E_k__BackingField>
</CarInfo>
<ResponseStatus xmlns:d2p1="http://schemas.servicestack.net/types">
<d2p1:ErrorCode>String</d2p1:ErrorCode>
<d2p1:Message>String</d2p1:Message>
<d2p1:StackTrace>String</d2p1:StackTrace>
<d2p1:Errors>
<d2p1:ResponseError>
<d2p1:ErrorCode>String</d2p1:ErrorCode>
<d2p1:FieldName>String</d2p1:FieldName>
<d2p1:Message>String</d2p1:Message>
</d2p1:ResponseError>
</d2p1:Errors>
</ResponseStatus>
<UrgentMessages xmlns:d2p1="http://schemas.datacontract.org/2004/07/S1.Api.Domain.Models.UrgentMessages" i:nil="true" />
</GetCarInfoResponse>