POST api/v1/{providerId}/clinical/encountertemplates/import/bulk
Used to import multiple single-item templates with a types(diagnosis, procedure, medicine, consumable)
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| providerId |
doctor id from where take templates |
globally unique identifier |
Required |
Body Parameters
Com.Healthbridge.Hhas.Cloud.WebRole.Models.ApiModels.TemplateBulkImportVo| Name | Description | Type | Additional information |
|---|---|---|---|
| RawData | string |
None. |
|
| ImportType | string |
None. |
|
| OnlyValidate | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"RawData": "sample string 1",
"ImportType": "sample string 2",
"OnlyValidate": true
}
application/xml, text/xml
Sample:
<TemplateBulkImportVo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Com.Healthbridge.Hhas.Cloud.WebRole.Models.ApiModels"> <ImportType>sample string 2</ImportType> <OnlyValidate>true</OnlyValidate> <RawData>sample string 1</RawData> </TemplateBulkImportVo>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Com.Healthbridge.Core.CommonDomain.Interface.ValueObjects.RestApiResultOfSystem.String[]| Name | Description | Type | Additional information |
|---|---|---|---|
| Sucess | boolean |
None. |
|
| ResponseCode | integer |
None. |
|
| ResponseMessage | string |
None. |
|
| Data | Collection of 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 1",
"sample string 2"
],
"Links": [
{
"Rel": "sample string 1",
"HRef": "sample string 2"
},
{
"Rel": "sample string 1",
"HRef": "sample string 2"
}
]
}
application/xml, text/xml
Sample:
<RestApiResultOfArrayOfstringuHEDJ7Dj xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Com.Healthbridge.Core.CommonDomain.Interface.ValueObjects">
<Data xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</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>
</RestApiResultOfArrayOfstringuHEDJ7Dj>