Services
Click here for a complete list of operations.
CheckEntitlementV2
This method takes the AuthCode and user alias and returns the current status of the account specified. Taking in the Auth Code, and the Alias, this will always create an Access token on our system and store it in our database. This will return a User Token that identifies the user.
Test
The test form is only available for requests from the local machine.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /EmeraldWS/services.asmx HTTP/1.1 Host: emerald.backup.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://intuit.backup.com/CheckEntitlementV2" <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <CheckEntitlementV2 xmlns="http://intuit.backup.com/"> <AuthCode>string</AuthCode> <GrantId>string</GrantId> </CheckEntitlementV2> </soap:Body> </soap:Envelope>
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <CheckEntitlementV2Response xmlns="http://intuit.backup.com/"> <CheckEntitlementV2Result>boolean</CheckEntitlementV2Result> <UserToken>string</UserToken> <ErrorCode>string</ErrorCode> </CheckEntitlementV2Response> </soap:Body> </soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /EmeraldWS/services.asmx HTTP/1.1 Host: emerald.backup.com Content-Type: application/soap+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> <CheckEntitlementV2 xmlns="http://intuit.backup.com/"> <AuthCode>string</AuthCode> <GrantId>string</GrantId> </CheckEntitlementV2> </soap12:Body> </soap12:Envelope>
HTTP/1.1 200 OK Content-Type: application/soap+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> <CheckEntitlementV2Response xmlns="http://intuit.backup.com/"> <CheckEntitlementV2Result>boolean</CheckEntitlementV2Result> <UserToken>string</UserToken> <ErrorCode>string</ErrorCode> </CheckEntitlementV2Response> </soap12:Body> </soap12:Envelope>