PUT api/cargo/atualizaCargo?VagaCargoId={VagaCargoId}&CargoIdCliente={CargoIdCliente}&IdEmpresa={IdEmpresa}&cdEmpresa={cdEmpresa}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
VagaCargoId

integer

None.

CargoIdCliente

integer

None.

IdEmpresa

integer

None.

cdEmpresa

integer

None.

Body Parameters

AtualizaCargoViewModel
NameDescriptionTypeAdditional information
VagaCargoId

integer

None.

CargoNome

string

Required

String length: inclusive between 1 and 128

CargoIdCliente

integer

Required

CodigoCargo

string

Required

String length: inclusive between 1 and 20

ClasseCargo

string

String length: inclusive between 0 and 100

id_empresa

integer

None.

cd_empresa

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "VagaCargoId": 1,
  "CargoNome": "sample string 1",
  "CargoIdCliente": 2,
  "CodigoCargo": "sample string 3",
  "ClasseCargo": "sample string 4",
  "id_empresa": 1,
  "cd_empresa": 1
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of AtualizaCargoViewModel
NameDescriptionTypeAdditional information
VagaCargoId

integer

None.

CargoNome

string

Required

String length: inclusive between 1 and 128

CargoIdCliente

integer

Required

CodigoCargo

string

Required

String length: inclusive between 1 and 20

ClasseCargo

string

String length: inclusive between 0 and 100

id_empresa

integer

None.

cd_empresa

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "VagaCargoId": 1,
    "CargoNome": "sample string 1",
    "CargoIdCliente": 2,
    "CodigoCargo": "sample string 3",
    "ClasseCargo": "sample string 4",
    "id_empresa": 1,
    "cd_empresa": 1
  },
  {
    "VagaCargoId": 1,
    "CargoNome": "sample string 1",
    "CargoIdCliente": 2,
    "CodigoCargo": "sample string 3",
    "ClasseCargo": "sample string 4",
    "id_empresa": 1,
    "cd_empresa": 1
  }
]