POST api/project/save

Request Information

URI Parameters

None.

Body Parameters

ProjectModel
NameDescriptionTypeAdditional information
ProjectID

integer

None.

ProjectCode

string

None.

ProjectName

string

None.

CompanyID

integer

None.

IsActive

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "ProjectID": 1,
  "ProjectCode": "sample string 2",
  "ProjectName": "sample string 3",
  "CompanyID": 4,
  "IsActive": true
}

application/xml, text/xml

Sample:
<ProjectModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ApprovalManagementAPI.Models">
  <CompanyID>4</CompanyID>
  <IsActive>true</IsActive>
  <ProjectCode>sample string 2</ProjectCode>
  <ProjectID>1</ProjectID>
  <ProjectName>sample string 3</ProjectName>
</ProjectModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.