Recurring
Click here for a complete list of operations.
GetContractDetails
Retrieves contract info associated with a given user.
Parameters| username | (Required) The username of the admin user. |
| password | (Required) The password of the admin user. |
| merchantKey | (optional) The merchant key to limit the results by. Only applies to reseller/admin users. |
| customerKey | (optional) The customer key to limit the results by. |
| contractKey | (optional) The contract key to limit the results by. |
| contractId | (optional) The contract id to limit the results by. |
| startDate | (optional) The minimum date of the start of the contract. |
| endDate | (optional) The maximum date of the start of the contract. |
Test
To test the operation using the HTTP POST protocol, click the 'Invoke' button.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 /admin/ws/recurring.asmx HTTP/1.1
Host: secure.redfinnet.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.tpisoft.com/Admin/ws/GetContractDetails"
<?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>
<GetContractDetails xmlns="http://www.tpisoft.com/Admin/ws">
<username>string</username>
<password>string</password>
<merchantKey>string</merchantKey>
<customerKey>string</customerKey>
<contractKey>string</contractKey>
<contractId>string</contractId>
<startDate>string</startDate>
<endDate>string</endDate>
</GetContractDetails>
</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>
<GetContractDetailsResponse xmlns="http://www.tpisoft.com/Admin/ws">
<GetContractDetailsResult>
<CustomerKey>string</CustomerKey>
<ContractKey>string</ContractKey>
<CcInfoKey>string</CcInfoKey>
<CheckInfoKey>string</CheckInfoKey>
<code>OK or Unknown_Error or Access_Denied or Invalid_Login or Invalid_User_Status or Invalid_User or User_Not_Found or Username_Already_In_Use or Username_Has_Invalid_Characters or Not_Enough_Privilege or Invalid_PartnerID or Invalid_VendorID or Invalid_Argument or Invalid_Record or Transaction_Type_Not_Supported_By_Host or Internal_Error</code>
<error>string</error>
<Partner>string</Partner>
<Vendor>string</Vendor>
<Username>string</Username>
<Result>string</Result>
<AuthCode>string</AuthCode>
<PNRef>string</PNRef>
<Message>string</Message>
</GetContractDetailsResult>
</GetContractDetailsResponse>
</soap:Body>
</soap:Envelope>
HTTP GET
The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.
GET /admin/ws/recurring.asmx/GetContractDetails?username=string&password=string&merchantKey=string&customerKey=string&contractKey=string&contractId=string&startDate=string&endDate=string HTTP/1.1 Host: secure.redfinnet.com
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <RecurringResult xmlns="http://www.tpisoft.com/Admin/ws"> <CustomerKey>string</CustomerKey> <ContractKey>string</ContractKey> <CcInfoKey>string</CcInfoKey> <CheckInfoKey>string</CheckInfoKey> <code>OK or Unknown_Error or Access_Denied or Invalid_Login or Invalid_User_Status or Invalid_User or User_Not_Found or Username_Already_In_Use or Username_Has_Invalid_Characters or Not_Enough_Privilege or Invalid_PartnerID or Invalid_VendorID or Invalid_Argument or Invalid_Record or Transaction_Type_Not_Supported_By_Host or Internal_Error</code> <error>string</error> <Partner>string</Partner> <Vendor>string</Vendor> <Username>string</Username> <Result>string</Result> <AuthCode>string</AuthCode> <PNRef>string</PNRef> <Message>string</Message> </RecurringResult>
HTTP POST
The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.
POST /admin/ws/recurring.asmx/GetContractDetails HTTP/1.1 Host: secure.redfinnet.com Content-Type: application/x-www-form-urlencoded Content-Length: length username=string&password=string&merchantKey=string&customerKey=string&contractKey=string&contractId=string&startDate=string&endDate=string
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <RecurringResult xmlns="http://www.tpisoft.com/Admin/ws"> <CustomerKey>string</CustomerKey> <ContractKey>string</ContractKey> <CcInfoKey>string</CcInfoKey> <CheckInfoKey>string</CheckInfoKey> <code>OK or Unknown_Error or Access_Denied or Invalid_Login or Invalid_User_Status or Invalid_User or User_Not_Found or Username_Already_In_Use or Username_Has_Invalid_Characters or Not_Enough_Privilege or Invalid_PartnerID or Invalid_VendorID or Invalid_Argument or Invalid_Record or Transaction_Type_Not_Supported_By_Host or Internal_Error</code> <error>string</error> <Partner>string</Partner> <Vendor>string</Vendor> <Username>string</Username> <Result>string</Result> <AuthCode>string</AuthCode> <PNRef>string</PNRef> <Message>string</Message> </RecurringResult>