POST api/Project/AddEditProject
Request Information
URI Parameters
None.
Body Parameters
AddEditProjectPtm| Name | Description | Type | Additional information |
|---|---|---|---|
| businessId | integer |
None. |
|
| userId | integer |
None. |
|
| stateId | integer |
None. |
|
| officeIds | string |
None. |
|
| projectName | string |
None. |
|
| description | string |
None. |
|
| projectId | integer |
None. |
|
| flag | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"businessId": 1,
"userId": 2,
"stateId": 3,
"officeIds": "sample string 4",
"projectName": "sample string 5",
"description": "sample string 6",
"projectId": 7,
"flag": 8
}
text/html
Sample:
{"businessId":1,"userId":2,"stateId":3,"officeIds":"sample string 4","projectName":"sample string 5","description":"sample string 6","projectId":7,"flag":8}
application/xml, text/xml
Sample:
<AddEditProjectPtm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Models"> <businessId>1</businessId> <description>sample string 6</description> <flag>8</flag> <officeIds>sample string 4</officeIds> <projectId>7</projectId> <projectName>sample string 5</projectName> <stateId>3</stateId> <userId>2</userId> </AddEditProjectPtm>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
VCAPIResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | string |
None. |
|
| dateTime | string |
None. |
|
| StatusCode | integer |
None. |
|
| ErrorMessage | string |
None. |
|
| Result | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"Version": "1.0.0",
"dateTime": "2025/11/08 07:58:06",
"StatusCode": 1,
"ErrorMessage": "sample string 2",
"Result": {}
}
text/html
Sample:
{"Version":"1.0.0","dateTime":"2025/11/08 07:58:06","StatusCode":1,"ErrorMessage":"sample string 2","Result":{}}
application/xml, text/xml
Sample:
<VCAPIResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Models"> <ErrorMessage>sample string 2</ErrorMessage> <Result /> <StatusCode>1</StatusCode> </VCAPIResponse>