Máscara de Url: http://{domínio}:{porta}/api/educational/financial/v1/prospection/prospectionspricetable/{prospectionCodeinternalId} | Informações |
|---|
| icon | false |
|---|
| title | Exemplo de Entrada |
|---|
| | Expandir |
|---|
| title | Ver resultado JSON... |
|---|
| | Bloco de código |
|---|
| language | js |
|---|
| firstline | 1 |
|---|
| title | Resultado (JSON) |
|---|
| linenumbers | true |
|---|
| {
"prospectscompanyCode": [
{
"prospectName": "Tomás Augusto",
"prospectType": "A",
"companyCode": 1,
"studentCode": "ES-00219",
"prospectPaymentPlans": [
{ "companyCode": 1, "termCode": 32, "paymentPlanCode": "2.0", "levelEducationCode": 1, "branchCode": 1 },
{ "companyCode": 1, "termCode": 32, "paymentPlanCode": "2023/PS", "levelEducationCode": 1, "branchCode": 1 }
],
"prospectScholarShips": [
{
"companyCode": 1,
"scholarShipCode": "10",
"levelEducationCode": 1,
"serviceCode": "1",
"termCode": 32,
"discountType": "P", "discountValue": 90.0000, "startDate": "2024-01-05T00:00:00-03:00", "endDate": "2024-01-29T00:00:00-03:00", "validityType": "T", "branchCode": 1
},
{
"companyCode": 1,
"scholarShipCode": "12",
"levelEducationCode": 1,
"serviceCode": "2",
"termCode": 10,
"discountType": "P", "discountValue": 2.0000, "startDate": "2024-01-05T00:00:00-03:00", "endDate": "2024-01-29T00:00:00-03:00", "validityType": "T", "branchCode": 1
}
]
}
]
}1,
"levelEducationCode": 1,
"id": 14,
"internalId": "1|1|14",
"code": "00003",
"name": "Tabela de Precos via Postman ALT",
"active": false,
"appliedMatrixes": [],
"terms": []
} |
|
|
| Informações |
|---|
| icon | false |
|---|
| title | Exemplo de Resultado Positivo |
|---|
| | Expandir |
|---|
| title | Ver resultado JSON... |
|---|
| | Bloco de código |
|---|
| language | js |
|---|
| firstline | 1 |
|---|
| title | Resultado (JSON) |
|---|
| linenumbers | true |
|---|
| {
"companyCode": 1,
"levelEducationCode": 1,
"id": 14,
"internalId": "1|1|14",
"code": "00003",
"name": "Tabela de Precos via Postman ALT",
"active": false,
"priceTableInUse": false,
"appliedMatrixes": [],
"terms": [ |
|
| | Informações |
|---|
| icon | false |
|---|
| title | Exemplo de Resultado Positivo |
|---|
| | Expandir |
|---|
| title | Ver resultado JSON... |
|---|
| | Bloco de código |
|---|
| language | js |
|---|
| firstline | 1 |
|---|
| title | Resultado (JSON) |
|---|
| linenumbers | true |
|---|
| {
"prospectionCode": 3,
"description": "Duplicação",
"prospects": [
{
"prospectionCode": 3,
"prospectCode": 141,
"prospectName": "Tomás Augusto",
"prospectType": "A",
"companyCode": 1,
"studentCode": "ES-00219",
"prospectPaymentPlans": [
{
"prospectionCode": 3,
"prospectCode": 141,
"prospectPaymentPlanCode": 118,
"companyCode": 1,
"termCode": 32,
"paymentPlanCode": "2.0",
"levelEducationCode": 1,
"branchCode": 1
},
{
"prospectionCode": 3,
"prospectCode": 141,
"prospectPaymentPlanCode": 119,
"companyCode": 1,
"termCode": 32,
"paymentPlanCode": "2023/PS",
"levelEducationCode": 1,
"branchCode": 1
}
],
"prospectScholarShips": [
{
"prospectionCode": 3,
"prospectCode": 141,
"prospectSchoolshipCode": 88,
"companyCode": 1,
"scholarShipCode": "10",
"levelEducationCode": 1,
"serviceCode": "1",
"termCode": 32,
"discountType": "P",
"discountValue": 90.0000,
"startDate": "2024-01-05T00:00:00-03:00",
"endDate": "2024-01-29T00:00:00-03:00",
"validityType": "T",
"branchCode": 1
},
{
"prospectionCode": 3,
"prospectCode": 141,
"prospectSchoolshipCode": 89,
"companyCode": 1,
"scholarShipCode": "12",
"levelEducationCode": 1,
"serviceCode": "2",
"termCode": 10,
"discountType": "P",
"discountValue": 2.0000,
"startDate": "2024-01-05T00:00:00-03:00",
"endDate": "2024-01-29T00:00:00-03:00",
"validityType": "T",
"branchCode": 1
}
]
}
]
} |
|
|
| Informações |
|---|
| icon | false |
|---|
| title | Exemplo de Resultado Negativo |
|---|
| | Expandir |
|---|
| title | Ver resultado JSON... |
|---|
| | Bloco de código |
|---|
| language | js |
|---|
| firstline | 1 |
|---|
| title | Resultado (JSON) |
|---|
| linenumbers | true |
|---|
| {
"code": null,
"message": "ANão bolsafoi 10possível jáincluir/editar estáa cadastradatabela parade opreços. prospectCódigo 'Tomásdo Augusto'nível nade prospecção 'Duplicação'.\r\nA bolsa 12 já está cadastrada para o prospect 'Tomás Augusto' na prospecção 'Duplicação'ensino está inválido.",
"detailedMessage": null,
"helpUrl": null,
"details": null
} |
|
|
|