POST api/v1/{practiceId}/patientevent/medicalinsurer/deactivate

Used to do deactivate of medical insurer

Request Information

URI Parameters

NameDescriptionTypeAdditional information
practiceId

string

None.

Body Parameters

Com.Healthbridge.Hhas.PatientEvent.Interface.Commands.DeactivateMedicalInsurer
NameDescriptionTypeAdditional information
MedicalInsurer

Com.Healthbridge.Hhas.PatientEvent.Interface.ValueObjects.MedicalInsurerVo

None.

Reason

string

None.

CorrelationIds

Collection of string

None.

OriginatedSystem

string

None.

Request Formats

application/json, text/json

Sample:
{
  "MedicalInsurer": {
    "Id": "bd6bde26-5fa0-46df-8f1b-04d5687bc0de",
    "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"
  },
  "Reason": "sample string 1",
  "CorrelationIds": [
    "sample string 1",
    "sample string 2"
  ],
  "OriginatedSystem": "sample string 2"
}

application/xml, text/xml

Sample:
<DeactivateMedicalInsurer 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 2</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>bd6bde26-5fa0-46df-8f1b-04d5687bc0de</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>
  <Reason>sample string 1</Reason>
</DeactivateMedicalInsurer>

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 'DeactivateMedicalInsurer'.

Response Information

Resource Description

Com.Healthbridge.Core.CommonDomain.Interface.ValueObjects.RestApiResultOfSystem.Boolean
NameDescriptionTypeAdditional 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>