POST api/v1/billing/providers/{practiceId}/contracts
Used to update contracts for specified provider
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
practiceId | globally unique identifier |
Required |
Body Parameters
Com.Healthbridge.Hhas.Billing.Interface.Commands.UpdateProviderConfigurationContractsName | Description | Type | Additional information |
---|---|---|---|
ProviderId | globally unique identifier |
None. |
|
ProviderContracts | Collection of Com.Healthbridge.Hhas.Billing.Interface.ValueObjects.ProviderContractVo |
None. |
|
CorrelationIds | Collection of string |
None. |
|
OriginatedSystem | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "ProviderId": "5e45be5a-81bf-436b-9a81-5a1a11a756e4", "ProviderContracts": [ { "ContractName": "sample string 1", "ContractLevel": "sample string 2", "ValidFrom": "2025-04-16T00:55:28Z", "ValidTo": "2025-04-16T00:55:28Z", "ZeroMedicine": true, "ZeroConsumable": true, "OptionCodes": [ { "OptionCode": "sample string 1" }, { "OptionCode": "sample string 1" } ] }, { "ContractName": "sample string 1", "ContractLevel": "sample string 2", "ValidFrom": "2025-04-16T00:55:28Z", "ValidTo": "2025-04-16T00:55:28Z", "ZeroMedicine": true, "ZeroConsumable": true, "OptionCodes": [ { "OptionCode": "sample string 1" }, { "OptionCode": "sample string 1" } ] } ], "CorrelationIds": [ "sample string 1", "sample string 2" ], "OriginatedSystem": "sample string 2" }
application/xml, text/xml
Sample:
<UpdateProviderConfigurationContracts xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Com.Healthbridge.Hhas.Billing.Interface.Commands"> <CorrelationIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://mpsapi.healthbridge.com/platform/core/v1/command/"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </CorrelationIds> <OriginatedSystem xmlns="http://mpsapi.healthbridge.com/platform/core/v1/command/">sample string 2</OriginatedSystem> <ProviderContracts xmlns:d2p1="http://mpsapi.healthbridge.com/rcm/billing/v1/practice/"> <d2p1:ProviderContractVo> <d2p1:ContractLevel>sample string 2</d2p1:ContractLevel> <d2p1:ContractName>sample string 1</d2p1:ContractName> <d2p1:OptionCodes> <d2p1:ProviderContractOptionCode> <d2p1:OptionCode>sample string 1</d2p1:OptionCode> </d2p1:ProviderContractOptionCode> <d2p1:ProviderContractOptionCode> <d2p1:OptionCode>sample string 1</d2p1:OptionCode> </d2p1:ProviderContractOptionCode> </d2p1:OptionCodes> <d2p1:ValidFrom>2025-04-16T00:55:28.4711365+02:00</d2p1:ValidFrom> <d2p1:ValidTo>2025-04-16T00:55:28.4711365+02:00</d2p1:ValidTo> <d2p1:ZeroConsumable>true</d2p1:ZeroConsumable> <d2p1:ZeroMedicine>true</d2p1:ZeroMedicine> </d2p1:ProviderContractVo> <d2p1:ProviderContractVo> <d2p1:ContractLevel>sample string 2</d2p1:ContractLevel> <d2p1:ContractName>sample string 1</d2p1:ContractName> <d2p1:OptionCodes> <d2p1:ProviderContractOptionCode> <d2p1:OptionCode>sample string 1</d2p1:OptionCode> </d2p1:ProviderContractOptionCode> <d2p1:ProviderContractOptionCode> <d2p1:OptionCode>sample string 1</d2p1:OptionCode> </d2p1:ProviderContractOptionCode> </d2p1:OptionCodes> <d2p1:ValidFrom>2025-04-16T00:55:28.4711365+02:00</d2p1:ValidFrom> <d2p1:ValidTo>2025-04-16T00:55:28.4711365+02:00</d2p1:ValidTo> <d2p1:ZeroConsumable>true</d2p1:ZeroConsumable> <d2p1:ZeroMedicine>true</d2p1:ZeroMedicine> </d2p1:ProviderContractVo> </ProviderContracts> <ProviderId>5e45be5a-81bf-436b-9a81-5a1a11a756e4</ProviderId> </UpdateProviderConfigurationContracts>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Com.Healthbridge.Core.CommonDomain.Interface.ValueObjects.RestApiResultOfSystem.BooleanName | Description | Type | Additional information |
---|---|---|---|
Sucess | boolean |
None. |
|
ResponseCode | integer |
None. |
|
ResponseMessage | string |
None. |
|
Data | boolean |
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": true, "Links": [ { "Rel": "sample string 1", "HRef": "sample string 2" }, { "Rel": "sample string 1", "HRef": "sample string 2" } ] }
application/xml, text/xml
Sample:
<RestApiResultOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Com.Healthbridge.Core.CommonDomain.Interface.ValueObjects"> <Data>true</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> </RestApiResultOfboolean>