| Requires any of the roles: | Worker, Agent, Administrator |
| GET,OPTIONS | /v1/AssignedFactFinderCode |
|---|
"use strict";
export class FactFinderCodeSet {
/** @param {{AgentId?:number,AgentName?:string,TrackingNumber?:string,ShipDate?:string,CreatedDate?:string,StartCode?:number,EndCode?:number,Count?:number}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {number} */
AgentId;
/** @type {string} */
AgentName;
/** @type {string} */
TrackingNumber;
/** @type {string} */
ShipDate;
/** @type {string} */
CreatedDate;
/** @type {number} */
StartCode;
/** @type {number} */
EndCode;
/** @type {number} */
Count;
}
export class AssignedFactFinderCodeResponse {
/** @param {{ResponseStatus?:ResponseStatus,Assigned?:FactFinderCodeSet[]}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {ResponseStatus} */
ResponseStatus;
/** @type {FactFinderCodeSet[]} */
Assigned = [];
}
export class AssignedFactFinderCodeRequest {
constructor(init) { Object.assign(this, init) }
}
JavaScript AssignedFactFinderCodeRequest DTOs
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/AssignedFactFinderCode 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
}
},
Assigned:
[
{
AgentId: 0,
AgentName: String,
TrackingNumber: String,
ShipDate: String,
CreatedDate: 0001-01-01,
StartCode: 0,
EndCode: 0,
Count: 0
}
]
}