Key Format
Last updated
Was this helpful?
Last updated
Was this helpful?
Was this helpful?
GET /gbds/v2/keyFormat HTTP/1.1
Host: <ip>:8085
Accept: */*
{
"httpResponse": {
"httpCode": 1,
"body": "text"
},
"data": [
{
"keyId": "text",
"formatType": "TITULO",
"regex": "text",
"minLength": 1,
"maxLength": 1
}
]
}POST /gbds/v2/keyFormat HTTP/1.1
Host: <ip>:8085
Content-Type: application/json
Accept: */*
Content-Length: 81
{
"keyId": "text",
"formatType": "TITULO",
"regex": "text",
"minLength": 1,
"maxLength": 1
}{}GET /gbds/v2/keyFormat/{keyId} HTTP/1.1
Host: <ip>:8085
Accept: */*
{
"httpResponse": {
"httpCode": 1,
"body": "text"
},
"data": {
"keyId": "text",
"formatType": "TITULO",
"regex": "text",
"minLength": 1,
"maxLength": 1
}
}DELETE /gbds/v2/keyFormat/{keyId} HTTP/1.1
Host: <ip>:8085
Accept: */*
{}POST /gbds/v2/keyFormat/validate HTTP/1.1
Host: <ip>:8085
Content-Type: application/json
Accept: */*
Content-Length: 30
[
{
"id": "text",
"value": "text"
}
]{}GET /gbds/v2/keyFormat/validate/{keyId}/{keyValue} HTTP/1.1
Host: <ip>:8085
Accept: */*
{}POST /gbds/v2/keyFormat/validate/inconsistentKeys HTTP/1.1
Host: <ip>:8085
Content-Type: application/json
Accept: */*
Content-Length: 30
[
{
"id": "text",
"value": "text"
}
]{}