| Requires any of the roles: | Agent, Administrator |
| GET | /v1/AutomatedAdjustment/frequency |
|---|
export class AutomatedAdjustment
{
public AutomatedAdustmentId: number;
public Name: string;
public FromAgentId: number;
public ToAgentId: string;
public ToAgentName: string;
public Description: string;
public TypeId: number;
public TypeDescription: string;
public FrequencyId: number;
public FrequencyDescription: string;
public Amount: number;
public ChargeCount: number;
public ChargeSum: number;
public Installments: number;
public PauseUntil?: string;
public DateCreated: string;
public CreatedBy: string;
public ModifiedBy: string;
public FirstCommissionRequired: boolean;
public constructor(init?: Partial<AutomatedAdjustment>) { (Object as any).assign(this, init); }
}
export class AutomatedAdjustmentType
{
public AutomatedAdjustmentTypeId: number;
public Description: string;
public constructor(init?: Partial<AutomatedAdjustmentType>) { (Object as any).assign(this, init); }
}
export class AutomatedAdjustmentfrequency
{
public AutomatedAdjustmentFrequencyId: number;
public Description: string;
public constructor(init?: Partial<AutomatedAdjustmentfrequency>) { (Object as any).assign(this, init); }
}
export class AutomatedAdjustmentResponse
{
public ResponseStatus: ResponseStatus;
public AutomatedAdjustments: AutomatedAdjustment[] = [];
public AutomatedAdjustment: AutomatedAdjustment;
public AutomatedAdjustmentID: number;
public AutomatedAdjustmentTypes: AutomatedAdjustmentType[] = [];
public AutomatedAdjustmentFrequencies: AutomatedAdjustmentfrequency[] = [];
public constructor(init?: Partial<AutomatedAdjustmentResponse>) { (Object as any).assign(this, init); }
}
export class AutomatedAdjustmentFrequencyRequest
{
public constructor(init?: Partial<AutomatedAdjustmentFrequencyRequest>) { (Object as any).assign(this, init); }
}
TypeScript AutomatedAdjustmentFrequencyRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /v1/AutomatedAdjustment/frequency HTTP/1.1 Host: api.dev.dynamics.trendsic.com Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"AutomatedAdjustments":[{"AutomatedAdustmentId":0,"Name":"String","FromAgentId":0,"ToAgentId":"0","ToAgentName":"String","Description":"String","TypeId":0,"TypeDescription":"String","FrequencyId":0,"FrequencyDescription":"String","Amount":0,"ChargeCount":0,"ChargeSum":0,"Installments":0,"PauseUntil":"0001-01-01T00:00:00.0000000","DateCreated":"0001-01-01T00:00:00.0000000","CreatedBy":"String","ModifiedBy":"String","FirstCommissionRequired":false}],"AutomatedAdjustment":{"AutomatedAdustmentId":0,"Name":"String","FromAgentId":0,"ToAgentId":"0","ToAgentName":"String","Description":"String","TypeId":0,"TypeDescription":"String","FrequencyId":0,"FrequencyDescription":"String","Amount":0,"ChargeCount":0,"ChargeSum":0,"Installments":0,"PauseUntil":"0001-01-01T00:00:00.0000000","DateCreated":"0001-01-01T00:00:00.0000000","CreatedBy":"String","ModifiedBy":"String","FirstCommissionRequired":false},"AutomatedAdjustmentID":0,"AutomatedAdjustmentTypes":[{"AutomatedAdjustmentTypeId":0,"Description":"String"}],"AutomatedAdjustmentFrequencies":[{"AutomatedAdjustmentFrequencyId":0,"Description":"String"}]}