Skip to content

Retrieve a list of bill of materials and consumables

Request

Security
BearerPartnerUser
Path
location_idnumberrequired

Location ID

Query
searchstring

parameter for searching by the name of those lists

Example:search='test'
pagenumber

page number

Example:page=1
countnumber

number of those lists per page

Example:count=20
Headers
Acceptstringrequired

e.g. application/vnd.api.v2+json

Example:application/vnd.api.v2+json
Content-Typestringrequired

application/json

Authorizationstringrequired

Bearer partner_token, User user_token

curl -i -X GET \
  'https://developer.alteg.io/_mock/en/b2b-v1/openapi/technological_cards/{location_id}?search='\''test'\''&page=1&count=20' \
  -H 'Accept: application/vnd.api.v2+json' \
  -H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
  -H 'Content-Type: string'

Responses

OK

Bodyapplication/json
successboolean

Execution success status (true)

Example:true
dataArray of objects

Array of data objects

Example:
[ { "id": 1, "title": "Tech map 1", "technological_card_items": [ … ] }, { "id": 2, "title": "Tech map 2", "technological_card_items": [ … ] } ]
metaArray of objects

Metadata (empty array)

Example:
[]
Response
{ "success": true, "data": [ { … }, { … } ], "meta": [] }