DelinquencyFilesApi v1.0.0
Scroll down for code samples, example requests and responses. Select a language for code samples from the tabs above or the mobile navigation menu.
Base URLs:
Email: Iberinform Web: Iberinform
Authentication
-
API Key (ClientSecretHeader)
- Parameter Name: X-IBM-Client-Secret, in: header.
-
API Key (APIKeyHeader)
- Parameter Name: X-IBM-Client-Id, in: header. Client-Id
Default
get__delinquencyFiles_{organisationID}
Code samples
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/xml',
'X-IBM-Client-Id' => 'API_KEY',
'X-IBM-Client-Secret' => 'API_KEY'
}
result = RestClient.get 'https://$(catalog.host)/modules/delinquencyFiles/{organisationID}',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/xml',
'X-IBM-Client-Id': 'API_KEY',
'X-IBM-Client-Secret': 'API_KEY'
}
r = requests.get('https://$(catalog.host)/modules/delinquencyFiles/{organisationID}', headers = headers)
print(r.json())
GET https://$(catalog.host)/modules/delinquencyFiles/{organisationID} HTTP/1.1
Accept: application/xml
const headers = {
'Accept':'application/xml',
'X-IBM-Client-Id':'API_KEY',
'X-IBM-Client-Secret':'API_KEY'
};
fetch('https://$(catalog.host)/modules/delinquencyFiles/{organisationID}',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
GET /delinquencyFiles/{organisationID}
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
organisationID | path | string | true | identificador de la firma |
language | query | string | false | Idioma generación |
Example responses
200 Response
<?xml version="1.0" encoding="UTF-8" ?>
<DFDetail>{"apuntes":0,"fechaApunteMasReciente":"2019-09-26T06:36:54.837Z","importe":0}</DFDetail>
"{"apuntes":0,"fechaApunteMasReciente":"2019-09-26T06:36:54.837Z","importe":0}"
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | 200 OK | DFDetail |
401 | Unauthorized | Unauthorized | ErrorDetail |
403 | Forbidden | Forbidden | ErrorDetail |
404 | Not Found | Recurso no encontrado | ErrorDetail |
500 | Internal Server Error | Internal error | ErrorDetail |
Schemas
ErrorDetail
"{"code":"string","message":"string","principal":"string","status":0}"
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
code | string | false | none | none |
message | string | false | none | none |
principal | string | false | none | none |
status | number | false | none | none |
DFDetail
"{"apuntes":0,"fechaApunteMasReciente":"2019-09-26T06:36:54.837Z","importe":0}"
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
apuntes | number | false | none | none |
fechaApunteMasReciente | string | false | none | none |
importe | number | false | none | none |