POST api/CRUD_API2/UpdateProducts
Request Information
URI Parameters
None.
Body Parameters
Product| Name | Description | Type | Additional information |
|---|---|---|---|
| PR_ID | integer |
None. |
|
| Service_Type | string |
None. |
|
| Amount | decimal number |
None. |
|
| Roles | string |
None. |
|
| RoleName | string |
None. |
|
| Timestamps | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"PR_ID": 1,
"Service_Type": "sample string 2",
"Amount": 3.0,
"Roles": "sample string 4",
"RoleName": "sample string 5",
"Timestamps": "sample string 6"
}
application/xml, text/xml
Sample:
<PKController.Product xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CRUD_API2.Controllers"> <Amount>3</Amount> <PR_ID>1</PR_ID> <RoleName>sample string 5</RoleName> <Roles>sample string 4</Roles> <Service_Type>sample string 2</Service_Type> <Timestamps>sample string 6</Timestamps> </PKController.Product>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.