All Verbs | /sigStringBasic | Creates a signature string based on the data passed |
---|
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /xml/reply/SigStringBasic HTTP/1.1
Host: api.vitalware.com
Content-Type: application/xml
Content-Length: length
<SigStringBasic xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ServiceStack">
<apiKey>String</apiKey>
<timeStamp xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:DateTime>0001-01-01T00:00:00Z</d2p1:DateTime>
<d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
</timeStamp>
<timeStampIso8601>String</timeStampIso8601>
<userName>String</userName>
</SigStringBasic>
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <SigStringBasicResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ServiceStack"> <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> <request> <apiKey>String</apiKey> <timeStamp xmlns:d3p1="http://schemas.datacontract.org/2004/07/System"> <d3p1:DateTime>0001-01-01T00:00:00Z</d3p1:DateTime> <d3p1:OffsetMinutes>0</d3p1:OffsetMinutes> </timeStamp> <timeStampIso8601>String</timeStampIso8601> <userName>String</userName> </request> <signableString>String</signableString> <timeStampUtc>String</timeStampUtc> </SigStringBasicResponse>