POST api/SystemData/Industry/Add

Request Information

URI Parameters

None.

Body Parameters

IndustryEditViewModel
NameDescriptionTypeAdditional information
IndustryID

integer

None.

Name

string

None.

MarketSegment

PrimaryIndustry

None.

Request Formats

application/json, text/json

Sample:
{
  "industryID": 1,
  "name": "sample string 2",
  "marketSegment": {
    "primaryIndustryID": 1,
    "primaryIndustryName": "sample string 2",
    "primaryIndustryIcon": "sample string 3"
  }
}

application/xml, text/xml

Sample:
<IndustryEditViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GameTimeBAL.ViewModels">
  <IndustryID>1</IndustryID>
  <MarketSegment>
    <PrimaryIndustryID>1</PrimaryIndustryID>
    <PrimaryIndustryIcon>sample string 3</PrimaryIndustryIcon>
    <PrimaryIndustryName>sample string 2</PrimaryIndustryName>
  </MarketSegment>
  <Name>sample string 2</Name>
</IndustryEditViewModel>

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.