POST api/Projects/Save

Request Information

URI Parameters

None.

Body Parameters

Projects
NameDescriptionTypeAdditional information
IsActive

boolean

None.

IsApproved

boolean

None.

ProjectStatus

boolean

None.

ApproveDate

date

None.

EndDate

date

None.

EntryDate

date

None.

ModifyDate

date

None.

StartDate

date

None.

ApprovedUserId

integer

None.

BranchesId

integer

None.

CityId

integer

None.

CompanyId

integer

None.

CustomerId

integer

None.

EntryUser

integer

None.

Id

integer

None.

ModifyUser

integer

None.

OrderNo

integer

None.

OrganizationId

integer

None.

ProjectGroupID

integer

None.

AddressDescription

string

None.

CustomerClient

string

None.

InternalExternal

string

None.

ProjectCode

string

None.

ProjectDescription

string

None.

ProjectManger

string

None.

ProjectName

string

None.

ProjectType

string

None.

SiteLocationName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "IsActive": true,
  "IsApproved": true,
  "ProjectStatus": true,
  "ApproveDate": "2025-10-29T13:17:27.3537983+05:00",
  "EndDate": "2025-10-29T13:17:27.3537983+05:00",
  "EntryDate": "2025-10-29T13:17:27.3537983+05:00",
  "ModifyDate": "2025-10-29T13:17:27.3537983+05:00",
  "StartDate": "2025-10-29T13:17:27.3537983+05:00",
  "ApprovedUserId": 9,
  "BranchesId": 10,
  "CityId": 11,
  "CompanyId": 12,
  "CustomerId": 13,
  "EntryUser": 14,
  "Id": 15,
  "ModifyUser": 16,
  "OrderNo": 17,
  "OrganizationId": 18,
  "ProjectGroupID": 19,
  "AddressDescription": "sample string 20",
  "CustomerClient": "sample string 21",
  "InternalExternal": "sample string 22",
  "ProjectCode": "sample string 23",
  "ProjectDescription": "sample string 24",
  "ProjectManger": "sample string 25",
  "ProjectName": "sample string 26",
  "ProjectType": "sample string 27",
  "SiteLocationName": "sample string 28"
}

application/xml, text/xml

Sample:
<Projects xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Architecture.Model">
  <AddressDescription>sample string 20</AddressDescription>
  <ApproveDate>2025-10-29T13:17:27.3537983+05:00</ApproveDate>
  <ApprovedUserId>9</ApprovedUserId>
  <BranchesId>10</BranchesId>
  <CityId>11</CityId>
  <CompanyId>12</CompanyId>
  <CustomerClient>sample string 21</CustomerClient>
  <CustomerId>13</CustomerId>
  <EndDate>2025-10-29T13:17:27.3537983+05:00</EndDate>
  <EntryDate>2025-10-29T13:17:27.3537983+05:00</EntryDate>
  <EntryUser>14</EntryUser>
  <Id>15</Id>
  <InternalExternal>sample string 22</InternalExternal>
  <IsActive>true</IsActive>
  <IsApproved>true</IsApproved>
  <ModifyDate>2025-10-29T13:17:27.3537983+05:00</ModifyDate>
  <ModifyUser>16</ModifyUser>
  <OrderNo>17</OrderNo>
  <OrganizationId>18</OrganizationId>
  <ProjectCode>sample string 23</ProjectCode>
  <ProjectDescription>sample string 24</ProjectDescription>
  <ProjectGroupID>19</ProjectGroupID>
  <ProjectManger>sample string 25</ProjectManger>
  <ProjectName>sample string 26</ProjectName>
  <ProjectStatus>true</ProjectStatus>
  <ProjectType>sample string 27</ProjectType>
  <SiteLocationName>sample string 28</SiteLocationName>
  <StartDate>2025-10-29T13:17:27.3537983+05:00</StartDate>
</Projects>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'Projects'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.