Inspectam Statutul Organizatiei
GET
https://sso.esempla.systems/api/v1/checkToken
Path Parameters
{
"organization": {
"name": "TES1",
"idno": "123",
"status_id": 1,
"description": "",
"project": "test"
},
"status": true
}
{
"name": "Unauthorized",
"message": "Your request was made with invalid credentials.",
"code": 0,
"status": 401
}
{
"name": "Forbidden",
"message": "",
"code": 0,
"status": 403
}
{
"name": "Not Found",
"message": "Page not found.",
"code": 0,
"status": 404,
"previous": {
"name": "Invalid Route",
"message": "Unable to resolve the request \"v1/checkToke\".",
"code": 0
}
}
Inspectam Organizatia, care apartine anumitui Provaider
GET
https://sso.esempla.systems/api/v1/getOrganizations
"Rezultatul - 1"
{
"status": true,
"organizations": []
}
"Rezultatul - 2"
{
"status": true,
"organizations": {
"testOrganization2": {
"name": "testOrganization2",
"idno": "12345",
"status": true,
"description": "aDQADCWAWAEWEFDWAEFASFFfsafdgsdgvv"
}
}
}
{
"name": "Forbidden",
"message": "",
"code": 0,
"status": 403
}
{
"name": "Not Found",
"message": "Page not found.",
"code": 0,
"status": 404,
"previous": {
"name": "Invalid Route",
"message": "Unable to resolve the request \"v1/getOrganization\".",
"code": 0
}
}
Inspectam Proectul, care apartine animitui Provaider
GET
https://sso.esempla.systems/api/v1/getProjects
"Rezultatul - 1"
{
"status": true,
"projects": []
}
"Rezultatul -2"
{
"status": true,
"projects": {
"testProject2": {
"name": "testProject2",
"organization": "testOrganization2",
"organization_idno": "12345",
"description": "dcvsvcsdevseve",
"status": true
}
}
}
{
"name": "Forbidden",
"message": "",
"code": 0,
"status": 403
}
{
"name": "Not Found",
"message": "Page not found.",
"code": 0,
"status": 404,
"previous": {
"name": "Invalid Route",
"message": "Unable to resolve the request \"v1/getProject\".",
"code": 0
}
}
Vizionam lista Provaiderilor
GET
https://sso.esempla.systems/api/v1/getProviders
{
"tetsProvider2": {
"provider_id": 3,
"relation_class_attributes": null,
"description": ""
},
"tetsProvider1": {
"provider_id": 1,
"relation_class_attributes": null,
"description": ""
},
"test with attribute": {
"provider_id": 2,
"relation_class_attributes": {
"test": null
},
"description": ""
}
}
{
"name": "Forbidden",
"message": "",
"code": 0,
"status": 403
}
{
"name": "Not Found",
"message": "Page not found.",
"code": 0,
"status": 404,
"previous": {
"name": "Invalid Route",
"message": "Unable to resolve the request \"v1/getProvider\".",
"code": 0
}
}
Vizionam Provaiderii care ii apartin unei Organizatii
POST
https://sso.esempla.systems/api/v1/getProvidersByProject
Request Body
lista provaiderilor care apartin unei organizatii
{
"status": true,
"providers": {
"tetsProvider1": {
"provider": "tetsProvider1",
"relation_class": null,
"status": true
},
"tetsProvider2": {
"provider": "tetsProvider2",
"relation_class": null,
"status": true
}
}
}
rezultatul, cin nu exista organizatie cu proect_id indicat
{
"status": true,
"providers": []
}
{
"name": "Forbidden",
"message": "",
"code": 0,
"status": 403
}
{
"name": "Not Found",
"message": "Page not found.",
"code": 0,
"status": 404,
"previous": {
"name": "Invalid Route",
"message": "Unable to resolve the request \"v1/getProvidersByProjec\".",
"code": 0
}
}