m_partner_edit_api.yml
947 字节
name: 合伙人编辑
base_url: ${ENV(base_manager_url)}
variables:
id: 1046
request:
headers:
Content-Type: application/json;charset=utf-8
User-Agent: okhttp/3.12.3
Authorization: Bearer ${get_m_accesstoken()}
json:
partnerName: '合伙人姓名修改${get_stringcode(5)}'
partnerType:
- id: 1
code: 事业合伙人编号${get_stringcode(8)}
- id: 2
code: 业务合伙人编号${get_stringcode(8)}
area: '合伙人所属区域修改${get_stringcode(5)}'
account: 155${get_randint(10000000,99999999)}
state: 0
cooperationTime: ${get_now()}
salesmanName: '业务员姓名修改${get_stringcode(5)}'
phone: 155${get_randint(10000000,99999999)}
id: $id
remark: '系统自动修改'
method: POST
url: /v1/partners/edit
validate:
- eq:
- content.msg
- ok