POST api/v1/xref/{tenantXref}/billing/branches

Update branches info for specific tenant (practice/business)

Request Information

URI Parameters

NameDescriptionTypeAdditional information
tenantXref

practice tenant ref

string

Required

Body Parameters

Collection of Com.Healthbridge.Hhas.Billing.Interface.ValueObjects.ProviderBranchConfigurationVo
NameDescriptionTypeAdditional information
PracticeTenantId

globally unique identifier

None.

BranchId

globally unique identifier

None.

BranchXRef

string

None.

BranchName

string

None.

PhoneNumber

string

None.

PhysicalAddress

string

None.

PostalAddress

string

None.

IsMainBranch

boolean

None.

Enabled

boolean

None.

ProviderInfos

Collection of Com.Healthbridge.Hhas.Billing.Interface.ValueObjects.BranchProviderInfoVo

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "PracticeTenantId": "8d6dd10a-1bbf-4afb-ae7f-9c5a9e85710a",
    "BranchId": "52fb3a59-7403-4eae-be5d-b25310d8b689",
    "BranchXRef": "sample string 3",
    "BranchName": "sample string 4",
    "PhoneNumber": "sample string 5",
    "PhysicalAddress": "sample string 6",
    "PostalAddress": "sample string 7",
    "IsMainBranch": true,
    "Enabled": true,
    "ProviderInfos": [
      {
        "ProviderXRef": "sample string 1",
        "IsDispensing": true,
        "DispensingLicenseNumber": "sample string 3",
        "IsDefaultBranch": true
      },
      {
        "ProviderXRef": "sample string 1",
        "IsDispensing": true,
        "DispensingLicenseNumber": "sample string 3",
        "IsDefaultBranch": true
      }
    ]
  },
  {
    "PracticeTenantId": "8d6dd10a-1bbf-4afb-ae7f-9c5a9e85710a",
    "BranchId": "52fb3a59-7403-4eae-be5d-b25310d8b689",
    "BranchXRef": "sample string 3",
    "BranchName": "sample string 4",
    "PhoneNumber": "sample string 5",
    "PhysicalAddress": "sample string 6",
    "PostalAddress": "sample string 7",
    "IsMainBranch": true,
    "Enabled": true,
    "ProviderInfos": [
      {
        "ProviderXRef": "sample string 1",
        "IsDispensing": true,
        "DispensingLicenseNumber": "sample string 3",
        "IsDefaultBranch": true
      },
      {
        "ProviderXRef": "sample string 1",
        "IsDispensing": true,
        "DispensingLicenseNumber": "sample string 3",
        "IsDefaultBranch": true
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfProviderBranchConfiguration xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://mpsapi.healthbridge.com/rcm/billing/v1/tenant/">
  <ProviderBranchConfiguration>
    <BranchId>52fb3a59-7403-4eae-be5d-b25310d8b689</BranchId>
    <BranchName>sample string 4</BranchName>
    <BranchXRef>sample string 3</BranchXRef>
    <Enabled>true</Enabled>
    <IsMainBranch>true</IsMainBranch>
    <PhoneNumber>sample string 5</PhoneNumber>
    <PhysicalAddress>sample string 6</PhysicalAddress>
    <PostalAddress>sample string 7</PostalAddress>
    <PracticeTenantId>8d6dd10a-1bbf-4afb-ae7f-9c5a9e85710a</PracticeTenantId>
    <ProviderInfos xmlns:d3p1="http://schemas.datacontract.org/2004/07/Com.Healthbridge.Hhas.Billing.Interface.ValueObjects">
      <d3p1:BranchProviderInfoVo>
        <d3p1:DispensingLicenseNumber>sample string 3</d3p1:DispensingLicenseNumber>
        <d3p1:IsDefaultBranch>true</d3p1:IsDefaultBranch>
        <d3p1:IsDispensing>true</d3p1:IsDispensing>
        <d3p1:ProviderXRef>sample string 1</d3p1:ProviderXRef>
      </d3p1:BranchProviderInfoVo>
      <d3p1:BranchProviderInfoVo>
        <d3p1:DispensingLicenseNumber>sample string 3</d3p1:DispensingLicenseNumber>
        <d3p1:IsDefaultBranch>true</d3p1:IsDefaultBranch>
        <d3p1:IsDispensing>true</d3p1:IsDispensing>
        <d3p1:ProviderXRef>sample string 1</d3p1:ProviderXRef>
      </d3p1:BranchProviderInfoVo>
    </ProviderInfos>
  </ProviderBranchConfiguration>
  <ProviderBranchConfiguration>
    <BranchId>52fb3a59-7403-4eae-be5d-b25310d8b689</BranchId>
    <BranchName>sample string 4</BranchName>
    <BranchXRef>sample string 3</BranchXRef>
    <Enabled>true</Enabled>
    <IsMainBranch>true</IsMainBranch>
    <PhoneNumber>sample string 5</PhoneNumber>
    <PhysicalAddress>sample string 6</PhysicalAddress>
    <PostalAddress>sample string 7</PostalAddress>
    <PracticeTenantId>8d6dd10a-1bbf-4afb-ae7f-9c5a9e85710a</PracticeTenantId>
    <ProviderInfos xmlns:d3p1="http://schemas.datacontract.org/2004/07/Com.Healthbridge.Hhas.Billing.Interface.ValueObjects">
      <d3p1:BranchProviderInfoVo>
        <d3p1:DispensingLicenseNumber>sample string 3</d3p1:DispensingLicenseNumber>
        <d3p1:IsDefaultBranch>true</d3p1:IsDefaultBranch>
        <d3p1:IsDispensing>true</d3p1:IsDispensing>
        <d3p1:ProviderXRef>sample string 1</d3p1:ProviderXRef>
      </d3p1:BranchProviderInfoVo>
      <d3p1:BranchProviderInfoVo>
        <d3p1:DispensingLicenseNumber>sample string 3</d3p1:DispensingLicenseNumber>
        <d3p1:IsDefaultBranch>true</d3p1:IsDefaultBranch>
        <d3p1:IsDispensing>true</d3p1:IsDispensing>
        <d3p1:ProviderXRef>sample string 1</d3p1:ProviderXRef>
      </d3p1:BranchProviderInfoVo>
    </ProviderInfos>
  </ProviderBranchConfiguration>
</ArrayOfProviderBranchConfiguration>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'System.Web.Http.ModelBinding.JQueryMvcFormUrlEncodedFormatter' to write type 'ProviderBranchConfigurationVo[]'.

Response Information

Resource Description

Com.Healthbridge.Core.CommonDomain.Interface.ValueObjects.RestApiResultOfSystem.String
NameDescriptionTypeAdditional information
Sucess

boolean

None.

ResponseCode

integer

None.

ResponseMessage

string

None.

Data

string

None.

Links

Collection of Com.Healthbridge.Core.CommonDomain.Interface.ValueObjects.RestApiLink

None.

Response Formats

application/json, text/json

Sample:
{
  "Sucess": true,
  "ResponseCode": 2,
  "ResponseMessage": "sample string 3",
  "Data": "sample string 4",
  "Links": [
    {
      "Rel": "sample string 1",
      "HRef": "sample string 2"
    },
    {
      "Rel": "sample string 1",
      "HRef": "sample string 2"
    }
  ]
}

application/xml, text/xml

Sample:
<RestApiResultOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Com.Healthbridge.Core.CommonDomain.Interface.ValueObjects">
  <Data>sample string 4</Data>
  <Links>
    <RestApiLink>
      <HRef>sample string 2</HRef>
      <Rel>sample string 1</Rel>
    </RestApiLink>
    <RestApiLink>
      <HRef>sample string 2</HRef>
      <Rel>sample string 1</Rel>
    </RestApiLink>
  </Links>
  <ResponseCode>2</ResponseCode>
  <ResponseMessage>sample string 3</ResponseMessage>
  <Sucess>true</Sucess>
</RestApiResultOfstring>