PUT api/drug/benefits

Update drug's info

Request Information

URI Parameters

None.

Body Parameters

Json

Object

None.

Request Formats

text/json, application/json

Sample:
{ 
    "id":"214F3379-EB65-E611-BEA0-408D5CA29777",
    "drug":{
        "code":"0123456",
        "quantity":1,
        "dose":"ml"
    }
}

Response Information

Resource Description

ResponseMessage: {"IdUnique","Result","Message"}.
 
Result - Message
-1: Update Drug 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":"214F3379-EB65-E611-BEA0-408D5CA29777","Resut":1,"Message":"Success"}