CVServices
Click here for a complete list of operations.
GetDemographicFromPRITAS
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 /cvservice/cvservices.asmx HTTP/1.1 Host: hws2.hacienda.pr.gov Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://haciendawebservices/CVService/CVService/GetDemographicFromPRITAS" <?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:Header> <AuthHeader xmlns="http://haciendawebservices/CVService/CVService"> <SessionKey>string</SessionKey> <SessionRole>string</SessionRole> </AuthHeader> </soap:Header> <soap:Body> <GetDemographicFromPRITAS xmlns="http://haciendawebservices/CVService/CVService"> <SSN>string</SSN> <CDType>int</CDType> </GetDemographicFromPRITAS> </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> <GetDemographicFromPRITASResponse xmlns="http://haciendawebservices/CVService/CVService"> <GetDemographicFromPRITASResult> <ResponseCode xmlns="http://tempuri.org/">string</ResponseCode> <ResponseMessage xmlns="http://tempuri.org/">string</ResponseMessage> <PRT_BUSINESS_NAME xmlns="http://tempuri.org/">string</PRT_BUSINESS_NAME> <PRT_FIRST_LAST_NAME xmlns="http://tempuri.org/">string</PRT_FIRST_LAST_NAME> <PRT_SECOND_LAST_NAME_1 xmlns="http://tempuri.org/">string</PRT_SECOND_LAST_NAME_1> <PRT_NAME_FIRST_NAME xmlns="http://tempuri.org/">string</PRT_NAME_FIRST_NAME> <PRT_SECOND_NAME_INITIAL xmlns="http://tempuri.org/">string</PRT_SECOND_NAME_INITIAL> <PRT_EMPLOYER_NAME_OR_CONTACT xmlns="http://tempuri.org/">string</PRT_EMPLOYER_NAME_OR_CONTACT> <PRT_POSTAL_ADDR_LINE_01 xmlns="http://tempuri.org/">string</PRT_POSTAL_ADDR_LINE_01> <PRT_POSTAL_ADDR_LINE_02 xmlns="http://tempuri.org/">string</PRT_POSTAL_ADDR_LINE_02> <PRT_POSTAL_ADDR_CITY xmlns="http://tempuri.org/">string</PRT_POSTAL_ADDR_CITY> <PRT_POSTAL_ADDR_STATE xmlns="http://tempuri.org/">string</PRT_POSTAL_ADDR_STATE> <PRT_POSTAL_ADDR_ZIPCD xmlns="http://tempuri.org/">string</PRT_POSTAL_ADDR_ZIPCD> <PRT_POSTAL_ADDR_COUNTRY xmlns="http://tempuri.org/">int</PRT_POSTAL_ADDR_COUNTRY> <PRT_BUSINESS_ADDR_1 xmlns="http://tempuri.org/">string</PRT_BUSINESS_ADDR_1> <PRT_BUSINESS_ADDR_2 xmlns="http://tempuri.org/">string</PRT_BUSINESS_ADDR_2> <PRT_BUSINESS_ADDR_CITY xmlns="http://tempuri.org/">string</PRT_BUSINESS_ADDR_CITY> <PRT_BUSINESS_ADDR_STATE xmlns="http://tempuri.org/">string</PRT_BUSINESS_ADDR_STATE> <PRT_BUSINESS_ADDR_ZIPCD xmlns="http://tempuri.org/">string</PRT_BUSINESS_ADDR_ZIPCD> <PRT_BUSINESS_ADDR_COUNTRY xmlns="http://tempuri.org/">int</PRT_BUSINESS_ADDR_COUNTRY> <PRT_TELEPHONE_NUMBER xmlns="http://tempuri.org/">int</PRT_TELEPHONE_NUMBER> <PRT_INDUSTRIAL_CODE xmlns="http://tempuri.org/">int</PRT_INDUSTRIAL_CODE> <PRT_EMPLOYER_STATUS xmlns="http://tempuri.org/">string</PRT_EMPLOYER_STATUS> <FILLER xmlns="http://tempuri.org/">string</FILLER> </GetDemographicFromPRITASResult> </GetDemographicFromPRITASResponse> </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 /cvservice/cvservices.asmx HTTP/1.1 Host: hws2.hacienda.pr.gov 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:Header> <AuthHeader xmlns="http://haciendawebservices/CVService/CVService"> <SessionKey>string</SessionKey> <SessionRole>string</SessionRole> </AuthHeader> </soap12:Header> <soap12:Body> <GetDemographicFromPRITAS xmlns="http://haciendawebservices/CVService/CVService"> <SSN>string</SSN> <CDType>int</CDType> </GetDemographicFromPRITAS> </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> <GetDemographicFromPRITASResponse xmlns="http://haciendawebservices/CVService/CVService"> <GetDemographicFromPRITASResult> <ResponseCode xmlns="http://tempuri.org/">string</ResponseCode> <ResponseMessage xmlns="http://tempuri.org/">string</ResponseMessage> <PRT_BUSINESS_NAME xmlns="http://tempuri.org/">string</PRT_BUSINESS_NAME> <PRT_FIRST_LAST_NAME xmlns="http://tempuri.org/">string</PRT_FIRST_LAST_NAME> <PRT_SECOND_LAST_NAME_1 xmlns="http://tempuri.org/">string</PRT_SECOND_LAST_NAME_1> <PRT_NAME_FIRST_NAME xmlns="http://tempuri.org/">string</PRT_NAME_FIRST_NAME> <PRT_SECOND_NAME_INITIAL xmlns="http://tempuri.org/">string</PRT_SECOND_NAME_INITIAL> <PRT_EMPLOYER_NAME_OR_CONTACT xmlns="http://tempuri.org/">string</PRT_EMPLOYER_NAME_OR_CONTACT> <PRT_POSTAL_ADDR_LINE_01 xmlns="http://tempuri.org/">string</PRT_POSTAL_ADDR_LINE_01> <PRT_POSTAL_ADDR_LINE_02 xmlns="http://tempuri.org/">string</PRT_POSTAL_ADDR_LINE_02> <PRT_POSTAL_ADDR_CITY xmlns="http://tempuri.org/">string</PRT_POSTAL_ADDR_CITY> <PRT_POSTAL_ADDR_STATE xmlns="http://tempuri.org/">string</PRT_POSTAL_ADDR_STATE> <PRT_POSTAL_ADDR_ZIPCD xmlns="http://tempuri.org/">string</PRT_POSTAL_ADDR_ZIPCD> <PRT_POSTAL_ADDR_COUNTRY xmlns="http://tempuri.org/">int</PRT_POSTAL_ADDR_COUNTRY> <PRT_BUSINESS_ADDR_1 xmlns="http://tempuri.org/">string</PRT_BUSINESS_ADDR_1> <PRT_BUSINESS_ADDR_2 xmlns="http://tempuri.org/">string</PRT_BUSINESS_ADDR_2> <PRT_BUSINESS_ADDR_CITY xmlns="http://tempuri.org/">string</PRT_BUSINESS_ADDR_CITY> <PRT_BUSINESS_ADDR_STATE xmlns="http://tempuri.org/">string</PRT_BUSINESS_ADDR_STATE> <PRT_BUSINESS_ADDR_ZIPCD xmlns="http://tempuri.org/">string</PRT_BUSINESS_ADDR_ZIPCD> <PRT_BUSINESS_ADDR_COUNTRY xmlns="http://tempuri.org/">int</PRT_BUSINESS_ADDR_COUNTRY> <PRT_TELEPHONE_NUMBER xmlns="http://tempuri.org/">int</PRT_TELEPHONE_NUMBER> <PRT_INDUSTRIAL_CODE xmlns="http://tempuri.org/">int</PRT_INDUSTRIAL_CODE> <PRT_EMPLOYER_STATUS xmlns="http://tempuri.org/">string</PRT_EMPLOYER_STATUS> <FILLER xmlns="http://tempuri.org/">string</FILLER> </GetDemographicFromPRITASResult> </GetDemographicFromPRITASResponse> </soap12:Body> </soap12:Envelope>