AlphaAlpha Docs
API ReferencePortal finance

Reject change order

POST
/portal/change-orders/{opportunityId}/{changeOrderId}/reject
AuthorizationBearer <token>

In: header

Path Parameters

opportunityId*string
changeOrderId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

[key: string]?string

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "http://localhost:18080/api/v1/portal/change-orders/string/string/reject" \  -H "Content-Type: application/json" \  -d '{    "property1": "string",    "property2": "string"  }'
{
  "amount": 0.1,
  "approvedAt": "2019-08-24T14:15:22Z",
  "approvedBy": "string",
  "canApprove": true,
  "canReject": true,
  "category": "string",
  "date": "2019-08-24T14:15:22Z",
  "description": "string",
  "id": "string",
  "opportunityId": "string",
  "opportunityName": "string",
  "rejectedAt": "2019-08-24T14:15:22Z",
  "rejectionReason": "string",
  "status": "DRAFT"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}