PUT api/admin/v1/ManpowerCostTypes/{manpowerCostTypeId}

Update an existing manpower cost type

Request Information

URI Parameters

NameDescriptionTypeAdditional information
manpowerCostTypeId

ID of the manpower cost type

integer

Required

Body Parameters

New manpower cost type informations

ManpowerCostTypeEditDto
NameDescriptionTypeAdditional information
DefaultAmount

attribute default amount of the manpower cost type

decimal number

None

MinAmount

attribute min amount of the manpower cost type

decimal number

None

MaxAmount

attribute max amount of the mainpower cost type

decimal number

None

Code

The short code of the element

string

None

Description

The description of the element

string

None

IsActive

True if the element is active, false otherwise

boolean

None

Id

Unique ID

integer

None

Request Formats

application/json, text/json

Sample:
{
  "DefaultAmount": 1.0,
  "MinAmount": 2.0,
  "MaxAmount": 3.0,
  "Code": "sample string 4",
  "Description": "sample string 5",
  "IsActive": true,
  "Id": 7
}

application/xml, text/xml

Sample:
<ManpowerCostTypeEditDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Oryx.Web.Api.Models">
  <Id>7</Id>
  <Code>sample string 4</Code>
  <Description>sample string 5</Description>
  <IsActive>true</IsActive>
  <DefaultAmount>1</DefaultAmount>
  <MaxAmount>3</MaxAmount>
  <MinAmount>2</MinAmount>
</ManpowerCostTypeEditDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

200

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None

Content

HttpContent

None

StatusCode

HttpStatusCode

None

ReasonPhrase

string

None

Headers

Collection of Object

None

RequestMessage

HttpRequestMessage

None

IsSuccessStatusCode

boolean

None