Swagger documentation - https://api.infact.no/docs/index.html
resource URL - https://api.infact.no/%7BversionNo%7D/DB
versionNo - version of API (last version: v1)
Basic with username and password.
GET /v1/DB/{id}/{itemId}
| name | is required | type | description |
| Database Id | Yes | integer | Datasource Id. Is given by Infact support. |
| Record Id | Yes | integer | Record Id. Is given by Infact support. |
PUT /v1/DB/{id}/{itemId}
Operation requires valid access URL for authorization.
Use GlobalDB or LocalDB API to get access URL
| name | is required | type | description |
| Database Id | Yes | integer | Datasource Id. Is given by Infact support. |
| Record Id | Yes | integer | Record Id. Is given by Infact support. |
| Values (body) | Yes | json object | Fields with values to update |
Request example
{
"additionalProp1": "string",
"additionalProp2": "string",
"additionalProp3": "string"
}
POST creates new record in the database
POST
/v1/DB/{id}
POST /v1/DB/{id}
| name | is required | type | description |
| Database Id | Yes | integer | Datasource Id. Is given by Infact support. |
| Values (body) | Yes | json object | Key\Value object of field names and values |
Request example
{
"additionalProp1": "string",
"additionalProp2": "string",
"additionalProp3": "string"
}
GET /v1/DB/{id}/find?name={string}&value={id}
| name | is required | type | description |
| Database Id | Yes | integer | DatabaseId is given by Infact support. |
| Field name | Yes | string | |
| Field value | Yes | string |