TPClientWebServicesAPI
Click here for a complete list of operations.
GetCaseInfo
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 /semp/TPClientWebServicesAPI.asmx HTTP/1.1 Host: semp.teleperformance.com.br Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://tempuri.org/GetCaseInfo" <?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> <GetCaseInfo xmlns="http://tempuri.org/"> <PublicKey1>string</PublicKey1> <EncryptedUser>string</EncryptedUser> <EncryptedPassword>string</EncryptedPassword> <EncryptedSignature>string</EncryptedSignature> <CaseId>long</CaseId> <LanguageCode>string</LanguageCode> </GetCaseInfo> </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> <GetCaseInfoResponse xmlns="http://tempuri.org/"> <GetCaseInfoResult> <response> <responseCode>int</responseCode> <responseDescription>string</responseDescription> <encryptedSymmetrickey>string</encryptedSymmetrickey> </response> <CaseInfo> <IdCASE>int</IdCASE> <ClientIdEncrypted>string</ClientIdEncrypted> <SubsidiaryIdEncrypted>string</SubsidiaryIdEncrypted> <SubsidiaryOrganizationIdEncrypted>string</SubsidiaryOrganizationIdEncrypted> <IdBaseLevel>string</IdBaseLevel> <Classify1_Id_BRANCH>string</Classify1_Id_BRANCH> <Classify2_Id_BRANCH>string</Classify2_Id_BRANCH> <Classify3_Id_BRANCH>string</Classify3_Id_BRANCH> <Classify4_Id_BRANCH>string</Classify4_Id_BRANCH> <Classify5_Id_BRANCH>string</Classify5_Id_BRANCH> <Comments>string</Comments> <CommentsHTML>string</CommentsHTML> <InsertDate>dateTime</InsertDate> <Typist_Id_USER>int</Typist_Id_USER> <IdStatus>string</IdStatus> <PromiseDate>dateTime</PromiseDate> <Responsible_Id_USER>int</Responsible_Id_USER> <CloseDate>dateTime</CloseDate> <Typist_FullName>string</Typist_FullName> <Responsible_FullName>string</Responsible_FullName> <IdOrganization>string</IdOrganization> <Relation_Id_BRANCH>string</Relation_Id_BRANCH> <IdWorkflowType>string</IdWorkflowType> <IdCaseParent>int</IdCaseParent> <IdCustomState>string</IdCustomState> <Classify1>string</Classify1> <Classify2>string</Classify2> <Classify3>string</Classify3> <Classify4>string</Classify4> <Classify5>string</Classify5> <CompanyName>string</CompanyName> <RelationName>string</RelationName> <BaseLevelDescription>string</BaseLevelDescription> <StatusDescription>string</StatusDescription> <CustomStateDescription>string</CustomStateDescription> <WorkflowTypeDescription>string</WorkflowTypeDescription> <SolutionTime>int</SolutionTime> <StartTypeDate>dateTime</StartTypeDate> <IsActive>boolean</IsActive> <AssociatedScriptCode>string</AssociatedScriptCode> </CaseInfo> <TaskInfo> <APIGetCaseTaskInfo> <IdTask>int</IdTask> <IdStatus>string</IdStatus> <IdWriter>int</IdWriter> <WriterFullName>string</WriterFullName> <IdReader>int</IdReader> <ReaderFullName>string</ReaderFullName> <Report>string</Report> <ReportHTML>string</ReportHTML> <CreationDate>dateTime</CreationDate> <StartDate>dateTime</StartDate> <LimitDate>dateTime</LimitDate> <ReportDate>dateTime</ReportDate> <IdTaskType>string</IdTaskType> <TaskTypeDescription>string</TaskTypeDescription> <IdWorkflowDetail>int</IdWorkflowDetail> <WriterRead>boolean</WriterRead> <ReaderRead>boolean</ReaderRead> <IdTypist>int</IdTypist> <TypistFullName>string</TypistFullName> <IsRejected>boolean</IsRejected> <IsEscalated>boolean</IsEscalated> <DecisionPath>string</DecisionPath> </APIGetCaseTaskInfo> <APIGetCaseTaskInfo> <IdTask>int</IdTask> <IdStatus>string</IdStatus> <IdWriter>int</IdWriter> <WriterFullName>string</WriterFullName> <IdReader>int</IdReader> <ReaderFullName>string</ReaderFullName> <Report>string</Report> <ReportHTML>string</ReportHTML> <CreationDate>dateTime</CreationDate> <StartDate>dateTime</StartDate> <LimitDate>dateTime</LimitDate> <ReportDate>dateTime</ReportDate> <IdTaskType>string</IdTaskType> <TaskTypeDescription>string</TaskTypeDescription> <IdWorkflowDetail>int</IdWorkflowDetail> <WriterRead>boolean</WriterRead> <ReaderRead>boolean</ReaderRead> <IdTypist>int</IdTypist> <TypistFullName>string</TypistFullName> <IsRejected>boolean</IsRejected> <IsEscalated>boolean</IsEscalated> <DecisionPath>string</DecisionPath> </APIGetCaseTaskInfo> </TaskInfo> <AdditionalData> <APIGetCaseAdditionalData> <IdAdditionaDataCase>int</IdAdditionaDataCase> <IdAdditionaData>string</IdAdditionaData> <AdditionaDataDescription>string</AdditionaDataDescription> <AdditionalDateType>string</AdditionalDateType> <Value>string</Value> </APIGetCaseAdditionalData> <APIGetCaseAdditionalData> <IdAdditionaDataCase>int</IdAdditionaDataCase> <IdAdditionaData>string</IdAdditionaData> <AdditionaDataDescription>string</AdditionaDataDescription> <AdditionalDateType>string</AdditionalDateType> <Value>string</Value> </APIGetCaseAdditionalData> </AdditionalData> </GetCaseInfoResult> </GetCaseInfoResponse> </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 /semp/TPClientWebServicesAPI.asmx HTTP/1.1 Host: semp.teleperformance.com.br 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> <GetCaseInfo xmlns="http://tempuri.org/"> <PublicKey1>string</PublicKey1> <EncryptedUser>string</EncryptedUser> <EncryptedPassword>string</EncryptedPassword> <EncryptedSignature>string</EncryptedSignature> <CaseId>long</CaseId> <LanguageCode>string</LanguageCode> </GetCaseInfo> </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> <GetCaseInfoResponse xmlns="http://tempuri.org/"> <GetCaseInfoResult> <response> <responseCode>int</responseCode> <responseDescription>string</responseDescription> <encryptedSymmetrickey>string</encryptedSymmetrickey> </response> <CaseInfo> <IdCASE>int</IdCASE> <ClientIdEncrypted>string</ClientIdEncrypted> <SubsidiaryIdEncrypted>string</SubsidiaryIdEncrypted> <SubsidiaryOrganizationIdEncrypted>string</SubsidiaryOrganizationIdEncrypted> <IdBaseLevel>string</IdBaseLevel> <Classify1_Id_BRANCH>string</Classify1_Id_BRANCH> <Classify2_Id_BRANCH>string</Classify2_Id_BRANCH> <Classify3_Id_BRANCH>string</Classify3_Id_BRANCH> <Classify4_Id_BRANCH>string</Classify4_Id_BRANCH> <Classify5_Id_BRANCH>string</Classify5_Id_BRANCH> <Comments>string</Comments> <CommentsHTML>string</CommentsHTML> <InsertDate>dateTime</InsertDate> <Typist_Id_USER>int</Typist_Id_USER> <IdStatus>string</IdStatus> <PromiseDate>dateTime</PromiseDate> <Responsible_Id_USER>int</Responsible_Id_USER> <CloseDate>dateTime</CloseDate> <Typist_FullName>string</Typist_FullName> <Responsible_FullName>string</Responsible_FullName> <IdOrganization>string</IdOrganization> <Relation_Id_BRANCH>string</Relation_Id_BRANCH> <IdWorkflowType>string</IdWorkflowType> <IdCaseParent>int</IdCaseParent> <IdCustomState>string</IdCustomState> <Classify1>string</Classify1> <Classify2>string</Classify2> <Classify3>string</Classify3> <Classify4>string</Classify4> <Classify5>string</Classify5> <CompanyName>string</CompanyName> <RelationName>string</RelationName> <BaseLevelDescription>string</BaseLevelDescription> <StatusDescription>string</StatusDescription> <CustomStateDescription>string</CustomStateDescription> <WorkflowTypeDescription>string</WorkflowTypeDescription> <SolutionTime>int</SolutionTime> <StartTypeDate>dateTime</StartTypeDate> <IsActive>boolean</IsActive> <AssociatedScriptCode>string</AssociatedScriptCode> </CaseInfo> <TaskInfo> <APIGetCaseTaskInfo> <IdTask>int</IdTask> <IdStatus>string</IdStatus> <IdWriter>int</IdWriter> <WriterFullName>string</WriterFullName> <IdReader>int</IdReader> <ReaderFullName>string</ReaderFullName> <Report>string</Report> <ReportHTML>string</ReportHTML> <CreationDate>dateTime</CreationDate> <StartDate>dateTime</StartDate> <LimitDate>dateTime</LimitDate> <ReportDate>dateTime</ReportDate> <IdTaskType>string</IdTaskType> <TaskTypeDescription>string</TaskTypeDescription> <IdWorkflowDetail>int</IdWorkflowDetail> <WriterRead>boolean</WriterRead> <ReaderRead>boolean</ReaderRead> <IdTypist>int</IdTypist> <TypistFullName>string</TypistFullName> <IsRejected>boolean</IsRejected> <IsEscalated>boolean</IsEscalated> <DecisionPath>string</DecisionPath> </APIGetCaseTaskInfo> <APIGetCaseTaskInfo> <IdTask>int</IdTask> <IdStatus>string</IdStatus> <IdWriter>int</IdWriter> <WriterFullName>string</WriterFullName> <IdReader>int</IdReader> <ReaderFullName>string</ReaderFullName> <Report>string</Report> <ReportHTML>string</ReportHTML> <CreationDate>dateTime</CreationDate> <StartDate>dateTime</StartDate> <LimitDate>dateTime</LimitDate> <ReportDate>dateTime</ReportDate> <IdTaskType>string</IdTaskType> <TaskTypeDescription>string</TaskTypeDescription> <IdWorkflowDetail>int</IdWorkflowDetail> <WriterRead>boolean</WriterRead> <ReaderRead>boolean</ReaderRead> <IdTypist>int</IdTypist> <TypistFullName>string</TypistFullName> <IsRejected>boolean</IsRejected> <IsEscalated>boolean</IsEscalated> <DecisionPath>string</DecisionPath> </APIGetCaseTaskInfo> </TaskInfo> <AdditionalData> <APIGetCaseAdditionalData> <IdAdditionaDataCase>int</IdAdditionaDataCase> <IdAdditionaData>string</IdAdditionaData> <AdditionaDataDescription>string</AdditionaDataDescription> <AdditionalDateType>string</AdditionalDateType> <Value>string</Value> </APIGetCaseAdditionalData> <APIGetCaseAdditionalData> <IdAdditionaDataCase>int</IdAdditionaDataCase> <IdAdditionaData>string</IdAdditionaData> <AdditionaDataDescription>string</AdditionaDataDescription> <AdditionalDateType>string</AdditionalDateType> <Value>string</Value> </APIGetCaseAdditionalData> </AdditionalData> </GetCaseInfoResult> </GetCaseInfoResponse> </soap12:Body> </soap12:Envelope>