POST api/SystemData/Industry/Update

Request Information

URI Parameters

None.

Body Parameters

Collection of 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"
    }
  },
  {
    "industryID": 1,
    "name": "sample string 2",
    "marketSegment": {
      "primaryIndustryID": 1,
      "primaryIndustryName": "sample string 2",
      "primaryIndustryIcon": "sample string 3"
    }
  }
]

application/xml, text/xml

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

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.