Page 1 of 1

Clarification on CustomerContract in the JOBS API

Posted: Fri Apr 11, 2025 6:08 pm
by JenniferM
Can you please clarify for me the CustomerContract response in the Jobs API? When I use a GET to retrieve details for a specific job, the CustomerContract.ID and CustomerContract.Name both contain data - even for jobs that are NOT on a contract. The .Name is always the same as the Customer.Name. I have no idea what the .ID is. It is different than the Customer.ID, but it is not a valid contract ID.

If I look at a job that IS on a contract, the CustomerContract details are as to be expected. I.e. the .ID refers to a valid Contract.ID and the other details are correct.

It is very confusing, unless I'm just overlooking something. I would expect the CustomerContract. details to be empty if the job isn't on a contract. I'm not sure if it's related to this recent forum post: viewtopic.php?f=2&t=2868&p=7732&hilit=contract#p7732 Although it appears to be on every job, and I know we don't have that many deleted contracts (if any). In addition, the CustomerContract.ID is often (but not always) within one digit of the Customer.ID.

Re: Clarification on CustomerContract in the JOBS API

Posted: Fri Apr 11, 2025 6:27 pm
by JenniferM
An update: I looked at the data in BI Reporting. Originally I didn't see that Customer Contract ID was available there. However, it is and it appears to be correct. I.e. it shows the correct Contract ID where it should and is empty for jobs that aren't on a contract.

Since this appears to be an API bug, I will submit a support request. Please let me know if you don't think this is a bug. Thanks

Re: Clarification on CustomerContract in the JOBS API

Posted: Wed Apr 16, 2025 10:31 pm
by SimproAPITeam
Hi Jennifer,
Thank you for submitting this through our help desk.

They will recreate the issue and verify if it's a bug so we can investigate closer.

Regards