PUT api/Assembly/Update
Request Information
URI Parameters
None.
Body Parameters
AssemblyDefUpdate| Name | Description | Type | Additional information |
|---|---|---|---|
| AssemblyId | integer |
Required |
|
| BookId | integer |
Required |
|
| AssemblyDesc | string |
Required String length: inclusive between 0 and 100 |
|
| Code | string |
String length: inclusive between 0 and 10 |
|
| StartDate | string |
Required |
|
| EndDate | string |
Required |
|
| Status | string |
Required Matching regular expression pattern: A|I |
|
| UpdateUser | integer |
Required |
|
| UpdateIp | string |
Required String length: inclusive between 0 and 20 |
|
| AgeBarrier | integer |
Required |
Request Formats
application/json, text/json
Sample:
{
"AssemblyId": 1,
"BookId": 2,
"AssemblyDesc": "sample string 3",
"Code": "sample string 4",
"StartDate": "sample string 5",
"EndDate": "sample string 6",
"Status": "sample string 7",
"UpdateUser": 8,
"UpdateIp": "sample string 9",
"AgeBarrier": 10
}
application/xml, text/xml
Sample:
<AssemblyDefUpdate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models"> <AgeBarrier>10</AgeBarrier> <AssemblyDesc>sample string 3</AssemblyDesc> <AssemblyId>1</AssemblyId> <BookId>2</BookId> <Code>sample string 4</Code> <EndDate>sample string 6</EndDate> <StartDate>sample string 5</StartDate> <Status>sample string 7</Status> <UpdateIp>sample string 9</UpdateIp> <UpdateUser>8</UpdateUser> </AssemblyDefUpdate>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.