POST api/cargo/criaCargo
Request Information
URI Parameters
None.
Body Parameters
CargoViewModelName | Description | Type | Additional 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 CargoViewModelName | Description | Type | Additional 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 } ]