View App members


                https://api.ocamba.com/v2/ocamba/apps/{id}/members
            

Retrieves the details of a App member if a valid identifier was provided


Name
Description
idstringrequired
Unique identifier for the object defined as a path parameter.


Example: 12345

Name
Description
namestring
Name of the object.


Example: name=name1

statusstring
Describe status of the object.


Example: status=status1

emailstring
Email which is being used for a object.


Example: "[email protected]"

create_timestring
Timezone: GMT.


Example: create_time=2021-09-14

update_timestring
Timezone: GMT.


Example: update_time=2021-09-14

fieldsstring
The client can request more efficient filtered representation of the resource showing only specific field(s), using the “fields” query parameter. Note that the “fields” parameter has precedence over the “view” parameter.

Example GET /v2/ocamba/RESOURCE_NAME?fields=id,name

See "Tips" for the list of filterable parameters.


Example: fields=field1,field2,field3

viewstring
Ocamba API returns full representation of the resource using the “view=full” query parameter. If not specified, the default view will be used.

Note that the “fields” parameter has precedence over the “view” parameter.


Example: view=full/default

pagestring
The page number indicates which set of items will be returned in the response. The format of request is "page=N,M" where 'N' (required) represents page number and 'M' (optional) is number of items per page.

Examples:
N=1, M=20 → returns page 1 with 20 items
N=2, M=20 → returns page 2 with 20 items (items 21-40)
N=3 → returns page 3. The number of objects returned depends on the resource settings.


Example: page=1,10

sortstring
Sorts the response by specified field(s) with the option to specify sorting order (ascending by default, add prefix "-" for descending).

Examples:
GET /v2/ocamba/RESOURCE_NAME?sort=name → sorts per name, ascending
GET /v2/ocamba/RESOURCE_NAME?sort=-id → sorts per id descending
GET /v2/ocamba/RESOURCE_NAME?sort=id,-name → sorts per id ascending, then name descending

See tips for the list of sortable fields.


Example: sort=-field1,filed2


200 - OK
Arrow
Name
Description
items[ member ]
An array of all created items.
Member
Name
Description
company_idstring
A unique company identifier generated by the Ocamba platform.


Example: 1000000

create_timedateTime
Timezone: GMT.


Example: 2021-07-30 12:50:13

emailstring (email)
Member email address.


Example: [email protected]

idstring
A unique identifier generated by the Ocamba platform.


Example: 1000163

imagestring (url)
The image of the member.


Example: https://image-uri-example.com

namestring
Name of the member.


Example: John Doe

preferencesobject
Member settings object.
Name
Description
General settings object.
General Settings
Name
Description
currencystring
Currency which will be applied to all Ocamba platform transactions.


Example: EUR

date_formatstring
Date format which will be applied to the overall Ocamba UI.


Example: DD-MM-YYYY

first_week_daystring
First day of week which will be applied to the overall Ocamba UI.


Example: mon

number_formatobject
Number format which will be applied to the overall Ocamba UI.
Name
Description
decimal_separatorstring
Separator represented as comma.


Example: ,

thousand_separatorstring
Separator represented as dot.


Example: .

themestring
Theme which will be applied to the overall Ocamba UI.


Example: light

time_formatstring
Time format which will be applied to the overall Ocamba UI.


Example: 24

timezoneinteger
Time zone which will be applied to the overall Ocamba UI.


Example: 1

Security settings object.
Security Settings
Name
Description
country_restrictions[ string ]
Array of countries allowed to access to the Ocamba platform.

ip_restrictions[ string ]
Array of unique IP addresses allowed to access to the Ocamba platform. Only IPv4 format is supported.

statusstring
Describe member status.


Example: active

Possible values: active | suspended

Default: active

update_timedateTime
Timezone: GMT.


Example: 2021-07-30 12:50:13

totalinteger
A total number of items.


Example: 2
tip
1 Sortable fields are create_time and update_time.
200 Arrow
{
  "total": 2,
  "items": [
    {
      "id": "1234567",
      "name": "John Doe",
      "status": "active",
      "email": "[email protected]",
      "create_time": "2021-07-30 12:50:13",
      "update_time": "2021-07-30 12:50:13"
    },
    {
      "id": "7654321",
      "name": "Jane Doe",
      "status": "active",
      "email": "[email protected]",
      "create_time": "2020-08-28 11:29:48",
      "update_time": "2021-04-15 17:13:59"
    }
  ]
}
{
  "total": 2,
  "items": [
    {
      "id": "1000163",
      "company_id": "1000000",
      "name": "John Doe",
      "status": "active",
      "email": "[email protected]",
      "image": "https://image-uri-example.com",
      "preferences": {
        "general": {
          "theme": "light",
          "timezone": 1,
          "number_format": {
            "thousand_separator": ".",
            "decimal_separator": ","
          },
          "date_format": "DD-MM-YYYY",
          "time_format": "24",
          "first_week_day": "mon",
          "currency": "EUR"
        },
        "security": {
          "ip_restrictions": [
            [
              "1.1.1.1"
            ]
          ],
          "country_restrictions": [
            [
              "AF"
            ]
          ]
        }
      },
      "create_time": "2021-07-30 12:50:13",
      "update_time": "2021-07-30 12:50:13"
    }
  ]
}