Skip to content

Provider update

PUTCH v1/ad/provider/:provider_id

Request

namenecessarytypedefaultdescribeui
namefalsestring-机构名称(provider name)
emailfalsestring-机构邮箱(provider email)
area_codefalsestring-国际区号(area code)
phonefalsestring-手机号码(phone)
provider_npifalsestring-机构npi(provider npi-2)
countryfalsestring-国家(country)
addressfalsestring-机构地址(address)
address_secondfalsestring-机构地址第二行(address second)
cityfalsestring-城市(city)
statefalsestring-州(state)
post_codefalsestring-邮编(post code)
logofalsestring-logo(logo)
specialty_fieldfalsestring-专业领域(specialty field)
tax_numberfalsestring-税号(tax number)
descriptionfalsestring-描述(description)
statusfalseint-状态:0禁用,1正常(status: 0 disabled, 1 normal)

Response data struct

namenecessarytypedefaultdescribeui
codetrueint-错误码(error code)
messagetruestring-错误信息(error message)
causetruestring-错误原因(error cause)
detailstrueobject-详情(details)

Example

  • Url params: v1/ad/provider/20230216145524XLdMBFpy

  • Body of raw:

json
{
    "name": "test 1",
    "description": "desc 1",
}
{
    "name": "test 1",
    "description": "desc 1",
}
  • Header:
keyvalue
x-api-keyyour's key value
  • Response body:
json
{
    "code": 0,
    "message": "Success",
    "cause": "",
    "details": {}
}
{
    "code": 0,
    "message": "Success",
    "cause": "",
    "details": {}
}