HTTP + SOAP12
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /soap12 HTTP/1.1
Host: 185.179.20.77
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<MessageGetRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://ns.spiritdata.co.uk/ApplicationServer/types">
<DeviceSerialNumber xmlns="http://schemas.servicestack.net/types">String</DeviceSerialNumber>
<GeneratedAt xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</GeneratedAt>
<SessionUid xmlns="http://schemas.servicestack.net/types">00000000-0000-0000-0000-000000000000</SessionUid>
<IncludeReplies>false</IncludeReplies>
<MessageReferUid>00000000-0000-0000-0000-000000000000</MessageReferUid>
</MessageGetRequest>
</soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<MessageGetResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://ns.spiritdata.co.uk/ApplicationServer/types">
<ProcessedAt xmlns="http://schemas.servicestack.net/types">0001-01-01T00:00:00</ProcessedAt>
<Result xmlns="http://schemas.servicestack.net/types">Unknown</Result>
<Server xmlns="http://schemas.servicestack.net/types">String</Server>
<ServerErrorDetails xmlns="http://schemas.servicestack.net/types">
<AdditionalMessages xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:string>String</d3p1:string>
</AdditionalMessages>
<Code>ClientDataSubmissionFailure</Code>
<Description>String</Description>
</ServerErrorDetails>
<Message xmlns:d2p1="http://schemas.datacontract.org/2004/07/Spirit.Server.Common.DomainModel.Messages">
<d2p1:AcknowledgedTimestamp>0001-01-01T00:00:00</d2p1:AcknowledgedTimestamp>
<d2p1:Body>String</d2p1:Body>
<d2p1:Created>0001-01-01T00:00:00</d2p1:Created>
<d2p1:InReplyTo>00000000-0000-0000-0000-000000000000</d2p1:InReplyTo>
<d2p1:ReferUid>00000000-0000-0000-0000-000000000000</d2p1:ReferUid>
<d2p1:Replies>
<d2p1:Message>
<d2p1:AcknowledgedTimestamp>0001-01-01T00:00:00</d2p1:AcknowledgedTimestamp>
<d2p1:Body>String</d2p1:Body>
<d2p1:Created>0001-01-01T00:00:00</d2p1:Created>
<d2p1:InReplyTo>00000000-0000-0000-0000-000000000000</d2p1:InReplyTo>
<d2p1:ReferUid>00000000-0000-0000-0000-000000000000</d2p1:ReferUid>
<d2p1:Replies>
<d2p1:Message>
<d2p1:AcknowledgedTimestamp>0001-01-01T00:00:00</d2p1:AcknowledgedTimestamp>
<d2p1:Body>String</d2p1:Body>
<d2p1:Created>0001-01-01T00:00:00</d2p1:Created>
<d2p1:InReplyTo>00000000-0000-0000-0000-000000000000</d2p1:InReplyTo>
<d2p1:ReferUid>00000000-0000-0000-0000-000000000000</d2p1:ReferUid>
<d2p1:Replies>
<d2p1:Message i:nil="true" />
</d2p1:Replies>
<d2p1:Role>String</d2p1:Role>
<d2p1:Sender>String</d2p1:Sender>
<d2p1:SenderReferUid>00000000-0000-0000-0000-000000000000</d2p1:SenderReferUid>
<d2p1:Status>Created</d2p1:Status>
<d2p1:Subject>String</d2p1:Subject>
<d2p1:User>String</d2p1:User>
<d2p1:UserReferUid>00000000-0000-0000-0000-000000000000</d2p1:UserReferUid>
<d2p1:fkDataAccessGroup>String</d2p1:fkDataAccessGroup>
</d2p1:Message>
</d2p1:Replies>
<d2p1:Role>String</d2p1:Role>
<d2p1:Sender>String</d2p1:Sender>
<d2p1:SenderReferUid>00000000-0000-0000-0000-000000000000</d2p1:SenderReferUid>
<d2p1:Status>Created</d2p1:Status>
<d2p1:Subject>String</d2p1:Subject>
<d2p1:User>String</d2p1:User>
<d2p1:UserReferUid>00000000-0000-0000-0000-000000000000</d2p1:UserReferUid>
<d2p1:fkDataAccessGroup>String</d2p1:fkDataAccessGroup>
</d2p1:Message>
</d2p1:Replies>
<d2p1:Role>String</d2p1:Role>
<d2p1:Sender>String</d2p1:Sender>
<d2p1:SenderReferUid>00000000-0000-0000-0000-000000000000</d2p1:SenderReferUid>
<d2p1:Status>Created</d2p1:Status>
<d2p1:Subject>String</d2p1:Subject>
<d2p1:User>String</d2p1:User>
<d2p1:UserReferUid>00000000-0000-0000-0000-000000000000</d2p1:UserReferUid>
<d2p1:fkDataAccessGroup>String</d2p1:fkDataAccessGroup>
</Message>
</MessageGetResponse>
</soap12:Body>
</soap12:Envelope>