REST Responses can be formatted in XML or JSON. The response type is denoted in the request header by specifying the content-type: either application/xml or application/json respectively.
SOAP responses are XML in the form of SOAP envelopes.
<response xmlns="http://api.partsfinder.com" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<profile>
<id>2</id>
<emailaddress>testemail@email.com</emailaddress>
<firstname>Test</firstname>
</profile>
</response>
{
"profile": {
"id": "2",
"emailaddress": "testemail@email.com",
"firstname": "Test"
}
}