POST api/Values/InsertNewCustomerInformation

Request Information

URI Parameters

None.

Body Parameters

InsertCustomerInformation
NameDescriptionTypeAdditional information
UserID

integer

None.

Token

string

None.

CustomerID

integer

None.

OrgaID

string

None.

CustomerName

string

None.

ShortName

string

None.

IndustryTypeID

integer

None.

CustomerCategoryID

integer

None.

CountryId

integer

None.

StateID

integer

None.

Address

string

None.

Coordinate

string

None.

CorporateEmail

string

None.

WebSite

string

None.

ActionTypeID

integer

None.

SourceType

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UserID": 1,
  "Token": "sample string 2",
  "CustomerID": 3,
  "OrgaID": "sample string 4",
  "CustomerName": "sample string 5",
  "ShortName": "sample string 6",
  "IndustryTypeID": 7,
  "CustomerCategoryID": 8,
  "CountryId": 9,
  "StateID": 10,
  "Address": "sample string 11",
  "Coordinate": "sample string 12",
  "CorporateEmail": "sample string 13",
  "WebSite": "sample string 14",
  "ActionTypeID": 15,
  "SourceType": "sample string 16"
}

text/html

Sample:
{"UserID":1,"Token":"sample string 2","CustomerID":3,"OrgaID":"sample string 4","CustomerName":"sample string 5","ShortName":"sample string 6","IndustryTypeID":7,"CustomerCategoryID":8,"CountryId":9,"StateID":10,"Address":"sample string 11","Coordinate":"sample string 12","CorporateEmail":"sample string 13","WebSite":"sample string 14","ActionTypeID":15,"SourceType":"sample string 16"}

application/xml, text/xml

Sample:
<ValuesController.InsertCustomerInformation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HR2Eazy_WebApi.Controllers">
  <ActionTypeID>15</ActionTypeID>
  <Address>sample string 11</Address>
  <Coordinate>sample string 12</Coordinate>
  <CorporateEmail>sample string 13</CorporateEmail>
  <CountryId>9</CountryId>
  <CustomerCategoryID>8</CustomerCategoryID>
  <CustomerID>3</CustomerID>
  <CustomerName>sample string 5</CustomerName>
  <IndustryTypeID>7</IndustryTypeID>
  <OrgaID>sample string 4</OrgaID>
  <ShortName>sample string 6</ShortName>
  <SourceType>sample string 16</SourceType>
  <StateID>10</StateID>
  <Token>sample string 2</Token>
  <UserID>1</UserID>
  <WebSite>sample string 14</WebSite>
</ValuesController.InsertCustomerInformation>

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

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>