Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 5 Current »

Companies detail uri:

/api/v2/third_party/companies/{id}

Method:

GET

Header:

    'X-SIMA-APIKEY: {API-KEY}',
    'X-SIMA-SYSTEM-ID: 8',
    'Accept: application/json',
    'Content-Type: application/json'

Parameters:

id:  (int)

Response example:

 

Companies list uri:

/api/v2/third_party/companies

Method:

GET

Header:

    'X-SIMA-APIKEY: {{API-KEY}}',
    'X-SIMA-SYSTEM-ID: 8',
    'Accept: application/json',
    'Content-Type: application/json'

Parameters:

page:  (int) default value 1
size:  (int) default value 10
find: (string)
id: (int)

Response example:

{
    "items": [
        {
            "id": 1,
            "name": "Primer compaƱia"
        }
    ],
    "current_page": 1,
    "next_page": 1,
    "total_pages": 1,
    "total_items": 1
}
  • No labels