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 .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /jsv/reply/i2cDataPrevPISPASEPNIT HTTP/1.1
Host: api.xdata.com.br
Content-Type: text/jsv
Content-Length: length
{
Nome: String,
DataNascimento: String,
NomeMae: String,
CPF: String,
CTPS: String,
CTPSSerie: String,
RG: String,
TituloEleitor: String,
CertidaoLivro: String,
CertidaoFolha: String,
CertidaoTermo: String
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { Response: { Status: { Protocol: 00000000000000000000000000000000, DateTime: 0001-01-01, Code: 0, Message: String, Detail: String, Mode: String, Type: String, Source: String, HTML: String, URL: String, Cookie: String }, Input: [ { Key: String, Value: String } ], Output: { PISPASEP: String, NIT: String, Nome: String, DataHora: String }, Error: { ErrorCode: String, Message: String, StackTrace: String, Errors: [ { ErrorCode: String, FieldName: String, Message: String } ] } } }