PUT api/Project/Update
Request Information
URI Parameters
None.
Body Parameters
ProjectUpdateVM| Name | Description | Type | Additional information |
|---|---|---|---|
| ProjectId | integer |
Required |
|
| ProjectName | string |
Required String length: inclusive between 0 and 250 |
|
| Code | string |
Required String length: inclusive between 0 and 10 |
|
| ProjectType | ProjectTypeLookupVM |
Required |
|
| PhoneNumber | string |
String length: inclusive between 0 and 50 |
|
| MobileNumber | string |
String length: inclusive between 0 and 50 |
|
| string |
String length: inclusive between 0 and 100 |
||
| Address1 | string |
Required String length: inclusive between 0 and 200 |
|
| Address2 | string |
Required String length: inclusive between 0 and 200 |
|
| AddressPincode | string |
String length: inclusive between 0 and 50 |
|
| AddressPlace | string |
String length: inclusive between 0 and 100 |
|
| PO | PlaceLookupVM |
None. |
|
| District | PlaceLookupVM |
None. |
|
| State | PlaceLookupVM |
None. |
|
| Country | PlaceLookupVM |
None. |
|
| Agency | AgencyLookupVM |
Required |
|
| Status | string |
Required Matching regular expression pattern: A|I |
|
| UpdateUser | integer |
Required |
|
| UpdateIp | string |
Required String length: inclusive between 0 and 20 |
Request Formats
application/json, text/json
Sample:
{
"ProjectId": 1,
"ProjectName": "sample string 2",
"Code": "sample string 3",
"ProjectType": {
"ProjectTypeId": 1,
"ProjectTypeName": "sample string 2"
},
"PhoneNumber": "sample string 4",
"MobileNumber": "sample string 5",
"Email": "sample string 6",
"Address1": "sample string 7",
"Address2": "sample string 8",
"AddressPincode": "sample string 9",
"AddressPlace": "sample string 10",
"PO": {
"PlaceId": 1,
"PlaceName": "sample string 2"
},
"District": {
"PlaceId": 1,
"PlaceName": "sample string 2"
},
"State": {
"PlaceId": 1,
"PlaceName": "sample string 2"
},
"Country": {
"PlaceId": 1,
"PlaceName": "sample string 2"
},
"Agency": {
"AgencyId": 1,
"AgencyName": "sample string 2"
},
"Status": "sample string 11",
"UpdateUser": 12,
"UpdateIp": "sample string 13"
}
application/xml, text/xml
Sample:
<ProjectUpdateVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
<Address1>sample string 7</Address1>
<Address2>sample string 8</Address2>
<AddressPincode>sample string 9</AddressPincode>
<AddressPlace>sample string 10</AddressPlace>
<Agency>
<AgencyId>1</AgencyId>
<AgencyName>sample string 2</AgencyName>
</Agency>
<Code>sample string 3</Code>
<Country>
<PlaceId>1</PlaceId>
<PlaceName>sample string 2</PlaceName>
</Country>
<District>
<PlaceId>1</PlaceId>
<PlaceName>sample string 2</PlaceName>
</District>
<Email>sample string 6</Email>
<MobileNumber>sample string 5</MobileNumber>
<PO>
<PlaceId>1</PlaceId>
<PlaceName>sample string 2</PlaceName>
</PO>
<PhoneNumber>sample string 4</PhoneNumber>
<ProjectId>1</ProjectId>
<ProjectName>sample string 2</ProjectName>
<ProjectType>
<ProjectTypeId>1</ProjectTypeId>
<ProjectTypeName>sample string 2</ProjectTypeName>
</ProjectType>
<State>
<PlaceId>1</PlaceId>
<PlaceName>sample string 2</PlaceName>
</State>
<Status>sample string 11</Status>
<UpdateIp>sample string 13</UpdateIp>
<UpdateUser>12</UpdateUser>
</ProjectUpdateVM>
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.