文档
测试

添加猪牛羊

POST
{{url}}/api/client/unit/add

请求参数

参数名
类型
描述
必填
code
string
示例:CS2
必填
type
int
示例:0
必填
plan
object
数据字典
必填
id
int
示例:1
必填
next_action
object
数据字典
必填
id
int
示例:3
必填
next_action_start_time
string
示例:2020-09-19T14:52:06+08:00
必填
day
string
示例:2020-09-09 09:36:13
必填
current_action
object
数据字典
必填
id
int
示例:2
必填
current_action_start_time
string
示例:2020-09-09T14:52:06+08:00
必填
current_state
object
数据字典
必填
id
int
示例:1
必填
next_state
object
数据字典
必填
id
int
示例:2
必填
start_days
int
示例:0
必填

响应参数

参数名
类型
描述
必填
code
int
示例:0
必填
data
object
数据字典
必填
id
int
示例:2
必填
code
string
示例:CS2
必填
create_at
string
示例:2020-09-09T15:06:45.5119868+08:00
必填
update_at
string
示例:2020-09-09T15:06:45.5119868+08:00
必填
type
int
示例:0
必填
company
object
数据字典
必填
id
int
示例:1
必填
logo
string
示例:
必填
name
string
示例:
必填
principal_name
string
示例:
必填
person
string
示例:
必填
province
string
示例:
必填
city
string
示例:
必填
district
string
示例:
必填
address
string
示例:
必填
longitude
int
示例:0
必填
latitude
int
示例:0
必填
plan
object
数据字典
必填
id
int
示例:1
必填
name
string
示例:
必填
create_at
string
示例:0001-01-01T00:00:00Z
必填
update_at
string
示例:0001-01-01T00:00:00Z
必填
type
int
示例:0
必填
next_action
object
数据字典
必填
id
int
示例:3
必填
name
string
示例:
必填
create_at
string
示例:0001-01-01T00:00:00Z
必填
update_at
string
示例:0001-01-01T00:00:00Z
必填
type
int
示例:0
必填
can_end
boolean
示例:false
必填
product
object
示例:null
必填
duration
int
示例:0
必填
next_action_start_time
string
示例:2020-09-19T14:52:06+08:00
必填
day
string
示例:2020-09-09 09:36:13
必填
current_action
object
数据字典
必填
id
int
示例:2
必填
name
string
示例:
必填
create_at
string
示例:0001-01-01T00:00:00Z
必填
update_at
string
示例:0001-01-01T00:00:00Z
必填
type
int
示例:0
必填
can_end
boolean
示例:false
必填
product
object
示例:null
必填
duration
int
示例:0
必填
current_action_start_time
string
示例:2020-09-09T14:52:06+08:00
必填
current_state
object
数据字典
必填
id
int
示例:1
必填
name
string
示例:
必填
create_at
string
示例:0001-01-01T00:00:00Z
必填
update_at
string
示例:0001-01-01T00:00:00Z
必填
type
int
示例:0
必填
next_state
object
数据字典
必填
id
int
示例:2
必填
name
string
示例:
必填
create_at
string
示例:0001-01-01T00:00:00Z
必填
update_at
string
示例:0001-01-01T00:00:00Z
必填
type
int
示例:0
必填
start_days
int
示例:0
必填
status
int
示例:0
必填