| All Verbs | /api/quadrant | ||
|---|---|---|---|
| All Verbs | /api/core/quadrant |
export class ListItemModel
{
public ListItemId: string;
public Name: string;
public Description: string;
public ShortName: string;
public IsDefault: boolean;
public Order: number;
public ListItemTrafficLightId: string;
public PrimaryListItemImageId: string;
public PrimaryListItemImageUrl: string;
public PrimaryImageThumbnailUrl: string;
public OwnerContactId: string;
public RecordStatus: string;
public constructor(init?: Partial<ListItemModel>) { (Object as any).assign(this, init); }
}
export class ProfileLicenseeRoleView
{
public ApplianceId: string;
public ApplianceName: string;
public ProfileId: string;
public ProfileName: string;
public IsDefaultProfile: boolean;
public ContactId: string;
public ContactName: string;
public ContactTypeId: string;
public LicenseeContactRoleConnectionId: string;
public UserContactRoleConnectionId: string;
public RoleId: string;
public RoleName: string;
public LicenseeContactId: string;
public LicenseeContactName: string;
public RoleOrder: number;
public ProfileImageUrl: string;
public ProfileThumbnailImageUrl: string;
public IsLicenseeRole: boolean;
public IsManageContactsRole: boolean;
public IsPlatformRole: boolean;
public IsDefault: boolean;
public constructor(init?: Partial<ProfileLicenseeRoleView>) { (Object as any).assign(this, init); }
}
export class QuadrantModel
{
public Appliances: ListItemModel[];
public UserProfileId: string;
public RoleConnectionId: string;
public LicenseeContactId: string;
public LicenseeContactName: string;
public ApplianceId: string;
public FullName: string;
public ImpersonatingUserProfileId: string;
public Connections: ProfileLicenseeRoleView[];
public constructor(init?: Partial<QuadrantModel>) { (Object as any).assign(this, init); }
}
export class GetQuadrantResponse
{
public Quadrant: QuadrantModel;
public Permissions: string[];
public ResponseStatus: ResponseStatus;
public constructor(init?: Partial<GetQuadrantResponse>) { (Object as any).assign(this, init); }
}
/** @description Get quadrant data for the perspective session id specified in the authentication token */
// @Api(Description="Get quadrant data for the perspective session id specified in the authentication token")
export class GetQuadrant
{
public PerspectiveSessionId: string;
public constructor(init?: Partial<GetQuadrant>) { (Object as any).assign(this, init); }
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /api/quadrant HTTP/1.1
Host: pfapi.pstpf.com.au
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"PerspectiveSessionId":"00000000-0000-0000-0000-000000000000"}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{"Quadrant":{"Appliances":[{"ListItemId":"00000000-0000-0000-0000-000000000000","Name":"String","Description":"String","ShortName":"String","IsDefault":false,"Order":0,"ListItemTrafficLightId":"00000000-0000-0000-0000-000000000000","PrimaryListItemImageId":"00000000-0000-0000-0000-000000000000","PrimaryListItemImageUrl":"String","PrimaryImageThumbnailUrl":"String","OwnerContactId":"00000000-0000-0000-0000-000000000000","RecordStatus":"String"}],"UserProfileId":"00000000-0000-0000-0000-000000000000","RoleConnectionId":"00000000-0000-0000-0000-000000000000","LicenseeContactId":"00000000-0000-0000-0000-000000000000","LicenseeContactName":"String","ApplianceId":"00000000-0000-0000-0000-000000000000","FullName":"String","ImpersonatingUserProfileId":"00000000-0000-0000-0000-000000000000","Connections":[{"ApplianceId":"00000000-0000-0000-0000-000000000000","ApplianceName":"String","ProfileId":"00000000-0000-0000-0000-000000000000","ProfileName":"String","IsDefaultProfile":false,"ContactId":"00000000-0000-0000-0000-000000000000","ContactName":"String","ContactTypeId":"00000000-0000-0000-0000-000000000000","LicenseeContactRoleConnectionId":"00000000-0000-0000-0000-000000000000","UserContactRoleConnectionId":"00000000-0000-0000-0000-000000000000","RoleId":"00000000-0000-0000-0000-000000000000","RoleName":"String","LicenseeContactId":"00000000-0000-0000-0000-000000000000","LicenseeContactName":"String","RoleOrder":0,"ProfileImageUrl":"String","ProfileThumbnailImageUrl":"String","IsLicenseeRole":false,"IsManageContactsRole":false,"IsPlatformRole":false,"IsDefault":false}]},"Permissions":["00000000-0000-0000-0000-000000000000"],"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}