POST api/Project/Save

Request Information

URI Parameters

None.

Body Parameters

CustomProject
NameDescriptionTypeAdditional information
ProjectId

integer

None.

ProjectCode

string

None.

ProjectNameWithCode

string

None.

ProjectName

string

None.

IsActive

boolean

None.

CreatedBy

string

None.

CreatedDate

string

None.

ModifiedBy

string

None.

ModifiedDate

string

None.

AccountId

integer

None.

userPrincipalName

string

None.

connectionString

string

None.

SecretId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ProjectId": 1,
  "ProjectCode": "sample string 1",
  "ProjectNameWithCode": "sample string 1 : sample string 2",
  "ProjectName": "sample string 2",
  "IsActive": true,
  "CreatedBy": "sample string 3",
  "CreatedDate": "sample string 4",
  "ModifiedBy": "sample string 5",
  "ModifiedDate": "sample string 6",
  "AccountId": 1,
  "userPrincipalName": "sample string 7",
  "connectionString": "sample string 8",
  "SecretId": null
}

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Type 'System.Security.Cryptography.CryptoStream' cannot be serialized. Consider marking it with the DataContractAttribute attribute, and marking all of its members you want serialized with the DataMemberAttribute attribute. If the type is a collection, consider marking it with the CollectionDataContractAttribute. See the Microsoft .NET Framework documentation for other supported types.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Type 'System.Security.Cryptography.CryptoStream' cannot be serialized. Consider marking it with the DataContractAttribute attribute, and marking all of its members you want serialized with the DataMemberAttribute attribute. If the type is a collection, consider marking it with the CollectionDataContractAttribute. See the Microsoft .NET Framework documentation for other supported types.

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 'CustomProject'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.