POST api/investigations/benefits

Get a unique identifier associated with the newly created investigation

Request Information

URI Parameters

None.

Body Parameters

Json

Object

None.

Request Formats

text/json, application/json

Sample:
{ 
    "patient":{
        "firstName":"a", 
	"lastName":"a",
	"address":{
	"addressLines": "123",
	"city":"aaa",
	"state":"SC",
	"zipcode":"123"
    },
    "gender":"female",
    "birthDate":"1970-01-25",
    "phone":"123456789"
    },
    "provider":{
        "firstName":"b",
        "lastName":"b",
        "address":{
            "addressLines": "123",
            "city":"aaa",
            "state":"SC",
            "zipcode":"123"
        },
        "npi":"123456",
        "phone":"123456789"
    },
    "coverage":{
        "name":"aaa",
        "bin":"123456",
        "pcn":"9999",
        "group":"UH",
        "id":"123456",
        "claimControlNumber":"123456",
        "phone":"123456"
    },
    "drug":{
        "code":"0123456",
        "quantity":1,
        "dose":"ml"
    }
}

Response Information

Resource Description

ResponseMessage: {"IdUnique","Result","Message"}.
 
Result - Message
-1: Insert Benefit Fail!.
-100: Store error.
-200: Api error.
-300: Data input is empty.
1: Success.

ResponseMessage
NameDescriptionTypeAdditional information
IdUnique

IdUnique

string

None.

Result

Result

integer

None.

Message

Message

string

None.

Response Formats

text/json, application/json

Sample:
{"IdUnique":"D4BA6230-6CCA-4445-A631-832CABCC13FD","Resut":1,"Message":"Success"}