- Api inData
- Introducción
- Autenticación
- Respuestas del API
- Client
- ClientBranch
- Employee
- OperationalSite
- HoursWorked
Obtener una sucursal de cliente por código
Prod Env
Prod Env
GET
https://api.indata.com.co/api/v1/client_branch/{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_branch/' \
--header 'x-api-key;'
Responses
🟢200Sucursal encontrada
application/json
Body
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
name
string
Name
id
integer
Id
code
string
Code
zone
object (Zone)
optional
name
string
optional
id
integer
optional
code
string | null
optional
description
string | null
optional
isActive
boolean
optional
city
object (City)
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",
"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-30 02:04:20