All Verbs | /i2c/100013/PF | ||
---|---|---|---|
All Verbs | /i2c/DataPrev/PISPASEPNIT | ||
All Verbs | /i2c/DataPrev/PIS | ||
All Verbs | /i2c/DataPrev/PASEP | ||
All Verbs | /i2c/DataPrev/NIT | ||
All Verbs | /i2c100013PF |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Nome | path | Text | Yes | Nome Completo |
DataNascimento | path | Number | Yes | Data de Nascimento (DDMMAAAA) |
NomeMae | path | Text | Yes | Nome Completo da Mae (Caso seja desconhecido, informe 'IGNORADO') |
CPF | path | Number | Yes | CPF |
CTPS | path | Number | No | Numero da Carteira de Trabalho |
CTPSSerie | path | Number | No | Numero de Serie da Carteira de Trabalho |
RG | path | Number | No | Numero do RG |
TituloEleitor | path | Number | No | Numero do Titulo de Eleitor |
CertidaoLivro | path | Number | No | Numero do Livro da Certidao de Nascimento/Casamento |
CertidaoFolha | path | Number | No | Numero da Folha da Certidao de Nascimento/Casamento |
CertidaoTermo | path | Number | No | Numero do Termo da Certidao de Nascimento/Casamento |
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/i2cDataPrevPISPASEPNIT HTTP/1.1
Host: api.xdata.com.br
Content-Type: application/xml
Content-Length: length
<i2cDataPrevPISPASEPNIT xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.xpi.net/types">
<CPF>String</CPF>
<CTPS>String</CTPS>
<CTPSSerie>String</CTPSSerie>
<CertidaoFolha>String</CertidaoFolha>
<CertidaoLivro>String</CertidaoLivro>
<CertidaoTermo>String</CertidaoTermo>
<DataNascimento>String</DataNascimento>
<Nome>String</Nome>
<NomeMae>String</NomeMae>
<RG>String</RG>
<TituloEleitor>String</TituloEleitor>
</i2cDataPrevPISPASEPNIT>
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <i2cDataPrevPISPASEPNITResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.xpi.net/types"> <Response> <Error> <ErrorCode>String</ErrorCode> <Message>String</Message> <StackTrace>String</StackTrace> <Errors> <ResponseError> <ErrorCode>String</ErrorCode> <FieldName>String</FieldName> <Message>String</Message> </ResponseError> </Errors> </Error> <Input> <InputItem> <Key>String</Key> <Value>String</Value> </InputItem> </Input> <Output> <DataHora>String</DataHora> <NIT>String</NIT> <Nome>String</Nome> <PISPASEP>String</PISPASEP> </Output> <Status> <Protocol>00000000-0000-0000-0000-000000000000</Protocol> <DateTime>0001-01-01T00:00:00</DateTime> <Code>0</Code> <Message>String</Message> <Detail>String</Detail> <Mode>String</Mode> <Type>String</Type> <Source>String</Source> <HTML>String</HTML> <Cookie>String</Cookie> <URL>String</URL> </Status> </Response> </i2cDataPrevPISPASEPNITResponse>