POST api/v1/{practiceId}/patientevent/medicalinsurer
Used to do update medical insurer
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
practiceId | string |
None. |
Body Parameters
Com.Healthbridge.Hhas.PatientEvent.Interface.Commands.UpdateMedicalInsurerName | Description | Type | Additional information |
---|---|---|---|
MedicalInsurer | Com.Healthbridge.Hhas.PatientEvent.Interface.ValueObjects.MedicalInsurerVo |
None. |
|
CorrelationIds | Collection of string |
None. |
|
OriginatedSystem | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "MedicalInsurer": { "Id": "b7577b85-cdf9-41d5-baef-9462ddfc8a22", "InsurerXRef": "sample string 2", "Name": "sample string 3", "AccountNo": "sample string 4", "Email": "sample string 5", "Phone1": "sample string 6", "Phone2": "sample string 7", "AddressLine1": "sample string 8", "AddressLine2": "sample string 9", "AddressLine3": "sample string 10", "PostalCode": "sample string 11" }, "CorrelationIds": [ "sample string 1", "sample string 2" ], "OriginatedSystem": "sample string 1" }
application/xml, text/xml
Sample:
<UpdateMedicalInsurer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Com.Healthbridge.Hhas.PatientEvent.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 1</OriginatedSystem> <MedicalInsurer xmlns:d2p1="http://schemas.datacontract.org/2004/07/Com.Healthbridge.Hhas.PatientEvent.Interface.ValueObjects"> <d2p1:AccountNo>sample string 4</d2p1:AccountNo> <d2p1:AddressLine1>sample string 8</d2p1:AddressLine1> <d2p1:AddressLine2>sample string 9</d2p1:AddressLine2> <d2p1:AddressLine3>sample string 10</d2p1:AddressLine3> <d2p1:Email>sample string 5</d2p1:Email> <d2p1:Id>b7577b85-cdf9-41d5-baef-9462ddfc8a22</d2p1:Id> <d2p1:InsurerXRef>sample string 2</d2p1:InsurerXRef> <d2p1:Name>sample string 3</d2p1:Name> <d2p1:Phone1>sample string 6</d2p1:Phone1> <d2p1:Phone2>sample string 7</d2p1:Phone2> <d2p1:PostalCode>sample string 11</d2p1:PostalCode> </MedicalInsurer> </UpdateMedicalInsurer>
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>