POST api/Values/InsertProductAndService

Request Information

URI Parameters

None.

Body Parameters

InsertProductAndServices
NameDescriptionTypeAdditional information
UserID

integer

None.

Token

string

None.

ID

integer

None.

Type

string

None.

Title

string

None.

Description

string

None.

OrgaId

string

None.

ProductBy

string

None.

ActionType

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "UserID": 1,
  "Token": "sample string 2",
  "ID": 3,
  "Type": "sample string 4",
  "Title": "sample string 5",
  "Description": "sample string 6",
  "OrgaId": "sample string 7",
  "ProductBy": "sample string 8",
  "ActionType": 9
}

text/html

Sample:
{"UserID":1,"Token":"sample string 2","ID":3,"Type":"sample string 4","Title":"sample string 5","Description":"sample string 6","OrgaId":"sample string 7","ProductBy":"sample string 8","ActionType":9}

application/xml, text/xml

Sample:
<ValuesController.InsertProductAndServices xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HR2Eazy_WebApi.Controllers">
  <ActionType>9</ActionType>
  <Description>sample string 6</Description>
  <ID>3</ID>
  <OrgaId>sample string 7</OrgaId>
  <ProductBy>sample string 8</ProductBy>
  <Title>sample string 5</Title>
  <Token>sample string 2</Token>
  <Type>sample string 4</Type>
  <UserID>1</UserID>
</ValuesController.InsertProductAndServices>

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

Response Information

Resource Description

Dictionary of Object [key] and Object [value]

Response Formats

application/json, text/json, text/html

Sample:
{"System.Object":{},"System.Object":{}}

application/xml, text/xml

Sample:
<ArrayOfKeyValueOfanyTypeanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <KeyValueOfanyTypeanyType>
    <Key />
    <Value />
  </KeyValueOfanyTypeanyType>
  <KeyValueOfanyTypeanyType>
    <Key />
    <Value />
  </KeyValueOfanyTypeanyType>
</ArrayOfKeyValueOfanyTypeanyType>