POST api/Item/EditManufacturer

Add or edit a manufacturer

Request Information

URI Parameters

None.

Body Parameters

ManufacturerModel
NameDescriptionTypeAdditional information
intManufacturerID

integer

None.

strCompany

string

None.

strName

string

None.

strAddress1

string

None.

strAddress2

string

None.

strZIP

string

None.

strCity

string

None.

strState

string

None.

strCountry

string

None.

strPhone

string

None.

strEMail

string

None.

strWeb

string

None.

Request Formats

application/json, text/json

Sample:
{
  "intManufacturerID": 1,
  "strCompany": "sample string 2",
  "strName": "sample string 3",
  "strAddress1": "sample string 4",
  "strAddress2": "sample string 5",
  "strZIP": "sample string 6",
  "strCity": "sample string 7",
  "strState": "sample string 8",
  "strCountry": "sample string 9",
  "strPhone": "sample string 10",
  "strEMail": "sample string 11",
  "strWeb": "sample string 12"
}

application/xml, text/xml

Sample:
<ManufacturerModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/XS2.WMSWebApi.Models">
  <intManufacturerID>1</intManufacturerID>
  <strAddress1>sample string 4</strAddress1>
  <strAddress2>sample string 5</strAddress2>
  <strCity>sample string 7</strCity>
  <strCompany>sample string 2</strCompany>
  <strCountry>sample string 9</strCountry>
  <strEMail>sample string 11</strEMail>
  <strName>sample string 3</strName>
  <strPhone>sample string 10</strPhone>
  <strState>sample string 8</strState>
  <strWeb>sample string 12</strWeb>
  <strZIP>sample string 6</strZIP>
</ManufacturerModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.