PUT api/corporate/countries-presents/{corporateCountryPresentId}/update

Request Information

URI Parameters

NameDescriptionTypeAdditional information
corporateCountryPresentId

integer

Required

Body Parameters

CorporateCountryPresentModel
NameDescriptionTypeAdditional information
CorporateCountryPresentId

integer

None.

CorporateId

integer

None.

CountryId

integer

None.

CountryName

string

None.

CorporateRegionId

integer

None.

CorporateRegion

string

None.

CountryHeadCount

integer

None.

InternationallyMobileEmployees

integer

None.

DefaultRegion

boolean

None.

Active

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "CorporateCountryPresentId": 1,
  "CorporateId": 2,
  "CountryId": 3,
  "CountryName": "sample string 4",
  "CorporateRegionId": 5,
  "CorporateRegion": "sample string 6",
  "CountryHeadCount": 7,
  "InternationallyMobileEmployees": 8,
  "DefaultRegion": true,
  "Active": true
}

application/xml, text/xml

Sample:
<CorporateCountryPresentModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ALTAMBS.Business.Entities.Models">
  <Active>true</Active>
  <CorporateCountryPresentId>1</CorporateCountryPresentId>
  <CorporateId>2</CorporateId>
  <CorporateRegion>sample string 6</CorporateRegion>
  <CorporateRegionId>5</CorporateRegionId>
  <CountryHeadCount>7</CountryHeadCount>
  <CountryId>3</CountryId>
  <CountryName>sample string 4</CountryName>
  <DefaultRegion>true</DefaultRegion>
  <InternationallyMobileEmployees>8</InternationallyMobileEmployees>
</CorporateCountryPresentModel>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.