GET api/job/customerhistory?customerCode={customerCode}&historyMonths={historyMonths}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
customerCode | string |
Required |
|
historyMonths | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of JobLiteName | Description | Type | Additional information |
---|---|---|---|
JobCode | string |
None. |
|
JobName | string |
None. |
|
CustomerCode | string |
None. |
|
CustomerName | string |
None. |
|
BranchCode | string |
None. |
|
DepartmentCode | string |
None. |
|
DefaultLocationCode | string |
None. |
|
RelatedJobCode | string |
None. |
|
JobGroupCode | string |
None. |
|
JobStatus | string |
None. |
|
JobType | string |
None. |
|
DateRequired | date |
None. |
|
DateEntered | date |
None. |
|
NonWIP | boolean |
None. |
|
InActive | boolean |
None. |
|
OrderNumber | string |
None. |
|
ScheduleStatus | ScheduleStatusEnum |
None. |
Response Formats
application/json, text/json
Sample:
[ { "JobCode": "sample string 1", "JobName": "sample string 2", "CustomerCode": "sample string 3", "CustomerName": "sample string 4", "BranchCode": "sample string 5", "DepartmentCode": "sample string 6", "DefaultLocationCode": "sample string 7", "RelatedJobCode": "sample string 8", "JobGroupCode": "sample string 9", "JobStatus": "sample string 10", "JobType": "sample string 11", "DateRequired": "2024-12-13T08:44:17.7736173+13:00", "DateEntered": "2024-12-13T08:44:17.7736173+13:00", "NonWIP": true, "InActive": true, "OrderNumber": "sample string 14", "ScheduleStatus": 0 }, { "JobCode": "sample string 1", "JobName": "sample string 2", "CustomerCode": "sample string 3", "CustomerName": "sample string 4", "BranchCode": "sample string 5", "DepartmentCode": "sample string 6", "DefaultLocationCode": "sample string 7", "RelatedJobCode": "sample string 8", "JobGroupCode": "sample string 9", "JobStatus": "sample string 10", "JobType": "sample string 11", "DateRequired": "2024-12-13T08:44:17.7736173+13:00", "DateEntered": "2024-12-13T08:44:17.7736173+13:00", "NonWIP": true, "InActive": true, "OrderNumber": "sample string 14", "ScheduleStatus": 0 } ]
application/xml, text/xml
Sample:
<ArrayOfJobLite xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AccredoWeb.Model.JC"> <JobLite> <BranchCode>sample string 5</BranchCode> <CustomerCode>sample string 3</CustomerCode> <CustomerName>sample string 4</CustomerName> <DateEntered>2024-12-13T08:44:17.7736173+13:00</DateEntered> <DateRequired>2024-12-13T08:44:17.7736173+13:00</DateRequired> <DefaultLocationCode>sample string 7</DefaultLocationCode> <DepartmentCode>sample string 6</DepartmentCode> <InActive>true</InActive> <JobCode>sample string 1</JobCode> <JobGroupCode>sample string 9</JobGroupCode> <JobName>sample string 2</JobName> <JobStatus>sample string 10</JobStatus> <JobType>sample string 11</JobType> <NonWIP>true</NonWIP> <OrderNumber>sample string 14</OrderNumber> <RelatedJobCode>sample string 8</RelatedJobCode> <ScheduleStatus>None</ScheduleStatus> </JobLite> <JobLite> <BranchCode>sample string 5</BranchCode> <CustomerCode>sample string 3</CustomerCode> <CustomerName>sample string 4</CustomerName> <DateEntered>2024-12-13T08:44:17.7736173+13:00</DateEntered> <DateRequired>2024-12-13T08:44:17.7736173+13:00</DateRequired> <DefaultLocationCode>sample string 7</DefaultLocationCode> <DepartmentCode>sample string 6</DepartmentCode> <InActive>true</InActive> <JobCode>sample string 1</JobCode> <JobGroupCode>sample string 9</JobGroupCode> <JobName>sample string 2</JobName> <JobStatus>sample string 10</JobStatus> <JobType>sample string 11</JobType> <NonWIP>true</NonWIP> <OrderNumber>sample string 14</OrderNumber> <RelatedJobCode>sample string 8</RelatedJobCode> <ScheduleStatus>None</ScheduleStatus> </JobLite> </ArrayOfJobLite>