POST fruitsapi/saveorupdatefincompany?preFix={preFix}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
preFix

string

Required

Body Parameters

FinCompany
NameDescriptionTypeAdditional information
ComId

integer

None.

UserId

integer

None.

CompanyId

integer

None.

ComName

string

None.

Mobile

decimal number

None.

Remark

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ComId": 1,
  "UserId": 2,
  "CompanyId": 3,
  "ComName": "sample string 4",
  "Mobile": 5.0,
  "Remark": "sample string 6"
}

text/html

Sample:
{"ComId":1,"UserId":2,"CompanyId":3,"ComName":"sample string 4","Mobile":5.0,"Remark":"sample string 6"}

application/xml, text/xml

Sample:
<FinCompany xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FruitsApi.Models">
  <ComId>1</ComId>
  <ComName>sample string 4</ComName>
  <CompanyId>3</CompanyId>
  <Mobile>5</Mobile>
  <Remark>sample string 6</Remark>
  <UserId>2</UserId>
</FinCompany>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.