Skip to content

Provider add

POST v1/ad/provider

Request

namenecessarytypedefaultdescribeui
nametruestring-机构名称(provider name)
emailtruestring-机构邮箱(provider email)
area_codetruestring-国际区号(area code)
phonetruestring-手机号码(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)
has_virtual_userfalsetrue-是否包含虚拟用户(Whether to include virtual users)

Response data struct

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

Example

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