POST api/FirstDatabankMedKnowledge/LoadFormulary
See http://www.strathweb.com/2012/08/a-guide-to-asynchronous-file-uploads-in-asp-net-web-api-rtm/
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
CcxDrugStatusCollection| Name | Description | Type | Additional information |
|---|---|---|---|
| Saved | boolean |
None. |
|
| TotalRecords | integer |
None. |
|
| DrugStatuses | Collection of ICcxDrugStatus |
None. |
|
| OperationResults | Collection of FormularyOperationResult |
None. |
|
| DrugStatusResult | Collection of FormularyDrugStatusResult |
None. |
|
| NotProcessed | Collection of string |
None. |
|
| GcnSeqNoNotProcessed | Collection of integer |
None. |
|
| MedIdNotProcessed | Collection of integer |
None. |
|
| NdcNotProcessed | Collection of string |
None. |
|
| OrdMedIdNotProcessed | Collection of integer |
None. |
|
| DtoVersion | string |
None. |
Response Formats
application/json, text/json, text/javascript
Sample:
{
"Saved": true,
"TotalRecords": 2,
"DrugStatuses": [
{
"NDC": "sample string 1",
"Description": "sample string 2",
"OrderInterface": "sample string 3",
"Status": "sample string 4",
"StatusCode": 0,
"FormularyOperation": "sample string 5",
"FormularyOperationCode": 0,
"DtoVersion": "sample string 6"
},
{
"NDC": "sample string 1",
"Description": "sample string 2",
"OrderInterface": "sample string 3",
"Status": "sample string 4",
"StatusCode": 0,
"FormularyOperation": "sample string 5",
"FormularyOperationCode": 0,
"DtoVersion": "sample string 6"
}
],
"OperationResults": [
{
"FormularyOperation": "sample string 1",
"FormularyOperationCode": 0,
"Count": 2
},
{
"FormularyOperation": "sample string 1",
"FormularyOperationCode": 0,
"Count": 2
}
],
"DrugStatusResult": [
{
"DrugStatus": "sample string 1",
"DrugStatusCode": 0,
"Count": 2
},
{
"DrugStatus": "sample string 1",
"DrugStatusCode": 0,
"Count": 2
}
],
"NotProcessed": [
"sample string 1",
"sample string 2"
],
"GcnSeqNoNotProcessed": [
1,
2
],
"MedIdNotProcessed": [
1,
2
],
"NdcNotProcessed": [
"sample string 1",
"sample string 2"
],
"OrdMedIdNotProcessed": [
1,
2
],
"DtoVersion": "sample string 3"
}