POST v6/api_2015_KaramelController/saveProject

Request Information

URI Parameters

None.

Body Parameters

SaveProjectQuery
NameDescriptionTypeAdditional information
ProjectCode

string

None.

ProjectName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ProjectCode": "sample string 1",
  "ProjectName": "sample string 2"
}

application/xml, text/xml

Sample:
<SaveProjectQuery xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/V6.models.Entegrasyon.Operasyonlar.KaramelaEntegrasyon">
  <ProjectCode>sample string 1</ProjectCode>
  <ProjectName>sample string 2</ProjectName>
</SaveProjectQuery>

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

Response Information

Resource Description

ResultModel
NameDescriptionTypeAdditional information
IsSuccessfull

boolean

None.

ErrorMessage

string

None.

StatusCode

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "IsSuccessfull": true,
  "ErrorMessage": "sample string 2",
  "StatusCode": 3
}

application/xml, text/xml

Sample:
<ResultModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/V6.models.CommonModels">
  <ErrorMessage>sample string 2</ErrorMessage>
  <IsSuccessfull>true</IsSuccessfull>
  <StatusCode>3</StatusCode>
</ResultModel>