| GET,OPTIONS | /v1/project/{ProjectUID}/quotes |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ProjectUID | path | Guid | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ResponseStatus | form | ResponseStatus | No | |
| Quotes | form | List<QuoteSummary> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| QuoteID | form | int | No | |
| QuoteUID | form | Guid | No | |
| ProjectID | form | int | No | |
| Name | form | string | No | |
| Status | form | string | No | |
| Total | form | decimal? | No | |
| IsLocked | form | bool? | No | |
| ApprovedByName | form | string | No | |
| ApprovedAt | form | DateTime? | No | |
| DeclinedAt | form | DateTime? | No | |
| ExpiresAt | form | DateTime? | No | |
| CreatedAt | form | DateTime? | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /v1/project/{ProjectUID}/quotes HTTP/1.1
Host: api.dev.dynamics.trendsic.com
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
ResponseStatus:
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String,
Meta:
{
String: String
}
}
],
Meta:
{
String: String
}
},
Quotes:
[
{
QuoteID: 0,
QuoteUID: 00000000000000000000000000000000,
ProjectID: 0,
Name: String,
Status: String,
Total: 0,
IsLocked: False,
ApprovedByName: String,
ApprovedAt: 0001-01-01,
DeclinedAt: 0001-01-01,
ExpiresAt: 0001-01-01,
CreatedAt: 0001-01-01
}
]
}