POST api/demanda/Add
Request Information
URI Parameters
None.
Body Parameters
DemandaNovoValueObject| Name | Description | Type | Additional information |
|---|---|---|---|
| PeriodoInicial | date |
Required |
|
| PeriodoFinal | date |
Required |
|
| DataExpiracao | date |
Required |
|
| Valor | decimal number |
Required Range: inclusive between 0.01 and 7.92281625142643E+28 |
|
| Despesa | decimal number |
Required Range: inclusive between 0 and 7.92281625142643E+28 |
|
| Contrato | string |
String length: inclusive between 0 and 50 |
|
| NaturezaPrestacao | integer |
Required Range: inclusive between 1 and 2147483647 |
|
| FormaPrestacao | integer |
Required Range: inclusive between 1 and 2147483647 |
|
| UnidadeContratante | string |
Required String length: inclusive between 3 and 200 |
|
| ResponsavelContratacao | string |
Required String length: inclusive between 3 and 200 |
|
| PublicoAlvo | string |
Required String length: inclusive between 3 and 4000 |
|
| Produto | string |
Required String length: inclusive between 3 and 1000 |
|
| ObjetoContratacao | string |
Required String length: inclusive between 10 and 4000 |
|
| Justificativa | string |
Required String length: inclusive between 3 and 4000 |
Request Formats
application/json, text/json
Sample:
{
"periodoInicial": "2025-12-12T17:32:53.5647578-03:00",
"periodoFinal": "2025-12-12T17:32:53.5647578-03:00",
"dataExpiracao": "2025-12-12T17:32:53.5647578-03:00",
"valor": 4.0,
"despesa": 5.0,
"contrato": "sample string 6",
"naturezaPrestacao": 7,
"formaPrestacao": 8,
"unidadeContratante": "sample string 9",
"responsavelContratacao": "sample string 10",
"publicoAlvo": "sample string 11",
"produto": "sample string 12",
"objetoContratacao": "sample string 13",
"justificativa": "sample string 14"
}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.