- Api inData
- Introducción
- Autenticación
- Respuestas del API
- Client
- ClientBranch
- Employee
- OperationalSite
- HoursWorked
Obtener cliente por código
Prod Env
Prod Env
GET
https://api.indata.com.co/api/v1/client/{code}
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Path Params
code
string
required
Header Params
x-api-key
string
required
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.indata.com.co/api/v1/client/' \
--header 'x-api-key;'
Responses
🟢200Respuesta exitosa
application/json
Body
name
string
optional
code
string
optional
business_name
string | null
optional
alias
string | null
optional
identification
string
optional
website
string | null
optional
email
string | null
optional
phone
string | null
optional
status
integer
optional
visibility
string
optional
is_blocked
boolean
optional
type
string
optional
id
integer
optional
id_account_customer_type
integer
optional
created_source
string
optional
typeCustomer
object
optional
name
string
optional
id
integer
optional
description
string
optional
created_at
string <date-time>
optional
created_by
integer
optional
updated_at
string <date-time>
optional
updated_by
integer
optional
branches
array[object (ClientBranch) {32}]
optional
name
string
optional
code
string
optional
alias
string | null
optional
coords
string
optional
radius
string
optional
radius_min
string
optional
address
string
optional
country_name
string
optional
state_name
string
optional
city_name
string
optional
phone
string | null
optional
phone_alt
string | null
optional
email
string | null
optional
email_alt
string | null
optional
extra1
string | null
optional
extra2
string | null
optional
extra3
string | null
optional
extra4
string | null
optional
extra5
string | null
optional
status
integer
optional
id
integer
optional
id_account_customer
integer
optional
id_account_geo_city
integer
optional
id_account_geo_zone
integer
optional
created_source
string
optional
city
object (City)
optional
zone
object (Zone)
optional
updated_ws_at
string <date-time> | null
optional
created_at
string <date-time>
optional
created_by
integer
optional
updated_at
string <date-time>
optional
updated_by
integer
optional
Example
{
"name": "string",
"code": "string",
"business_name": "string",
"alias": "string",
"identification": "string",
"website": "string",
"email": "string",
"phone": "string",
"status": 0,
"visibility": "string",
"is_blocked": true,
"type": "string",
"id": 0,
"id_account_customer_type": 0,
"created_source": "string",
"typeCustomer": {
"name": "string",
"id": 0,
"description": "string"
},
"created_at": "2019-08-24T14:15:22Z",
"created_by": 0,
"updated_at": "2019-08-24T14:15:22Z",
"updated_by": 0,
"branches": [
{
"name": "string",
"code": "string",
"alias": "string",
"coords": "string",
"radius": "string",
"radius_min": "string",
"address": "string",
"country_name": "string",
"state_name": "string",
"city_name": "string",
"phone": "string",
"phone_alt": "string",
"email": "string",
"email_alt": "string",
"extra1": "string",
"extra2": "string",
"extra3": "string",
"extra4": "string",
"extra5": "string",
"status": 0,
"id": 0,
"id_account_customer": 0,
"id_account_geo_city": 0,
"id_account_geo_zone": 0,
"created_source": "string",
"city": {
"name": "string",
"id": 0,
"code": "string"
},
"zone": {
"name": "string",
"id": 0,
"code": "string",
"description": "string",
"isActive": true,
"city": {
"name": "string",
"id": 0,
"code": "string"
}
},
"updated_ws_at": "2019-08-24T14:15:22Z",
"created_at": "2019-08-24T14:15:22Z",
"created_by": 0,
"updated_at": "2019-08-24T14:15:22Z",
"updated_by": 0
}
]
}
Modified at 2024-08-29 23:16:13