| GET,OPTIONS | /v1/portal/account/{Token} |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Token | path | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| CustomerName | form | string | No | |
| Visits | form | List<PortalAccountVisit> | No | |
| Invoices | form | List<PortalAccountInvoice> | No | |
| Quotes | form | List<PortalAccountQuote> | No | |
| ResponseStatus | form | ResponseStatus | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| VisitDate | form | DateTime? | No | |
| ServiceName | form | string | No | |
| ProjectName | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| InvoiceUID | form | Guid? | No | |
| InvoiceNumber | form | string | No | |
| InvoiceDate | form | DateTime? | No | |
| Total | form | decimal? | No | |
| IsPaid | form | bool | No | |
| ProjectName | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| QuoteUID | form | Guid | No | |
| Name | form | string | No | |
| Total | form | decimal? | No | |
| Status | form | string | No | |
| ProjectName | 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.
GET /v1/portal/account/{Token} HTTP/1.1
Host: api.dev.dynamics.trendsic.com
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
CustomerName: String,
Visits:
[
{
VisitDate: 0001-01-01,
ServiceName: String,
ProjectName: String
}
],
Invoices:
[
{
InvoiceUID: 00000000000000000000000000000000,
InvoiceNumber: String,
InvoiceDate: 0001-01-01,
Total: 0,
IsPaid: False,
ProjectName: String
}
],
Quotes:
[
{
QuoteUID: 00000000000000000000000000000000,
Name: String,
Total: 0,
Status: String,
ProjectName: String
}
],
ResponseStatus:
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String,
Meta:
{
String: String
}
}
],
Meta:
{
String: String
}
}
}