| Requires any of the roles: | Agent, Administrator |
| POST,OPTIONS | /v1/Rfp/{RfpDocumentUID}/Rates/Resolve |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| RfpDocumentUID | path | Guid | No | |
| RateKey | body | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ResponseStatus | form | ResponseStatus | No | |
| RateKey | form | string | No | |
| Name | form | string | No | |
| Kind | form | string | No | |
| Unit | form | string | No | |
| Quotes | form | List<RateQuote> | No | |
| RetailRequestId | form | string | No | |
| CurrentRate | form | decimal? | No | |
| CurrentChip | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Tier | form | string | No | |
| Confidence | form | string | No | |
| Value | form | decimal? | No | |
| Unit | form | string | No | |
| Provenance | form | string | No | |
| Url | form | string | No | |
| FetchedAtUtc | form | DateTime? | No | |
| Vendor | form | string | No | |
| Location | form | string | No | |
| RateDay | form | decimal? | No | |
| RateWeek | form | decimal? | No | |
| RateMonth | form | decimal? | No | |
| AdjustmentPct | form | decimal? | No | |
| ListValue | form | decimal? | No | |
| Note | form | string | No | |
| ChipShort | form | string | No | |
| Status | form | string | 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.
POST /v1/Rfp/{RfpDocumentUID}/Rates/Resolve HTTP/1.1
Host: api.dev.dynamics.trendsic.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
RfpDocumentUID: 00000000000000000000000000000000,
RateKey: String
}
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
}
},
RateKey: String,
Name: String,
Kind: String,
Unit: String,
Quotes:
[
{
Tier: String,
Confidence: String,
Value: 0,
Unit: String,
Provenance: String,
Url: String,
FetchedAtUtc: 0001-01-01,
Vendor: String,
Location: String,
RateDay: 0,
RateWeek: 0,
RateMonth: 0,
AdjustmentPct: 0,
ListValue: 0,
Note: String,
ChipShort: String,
Status: String
}
],
RetailRequestId: String,
CurrentRate: 0,
CurrentChip: String
}