Reply
Highlighted
Project Wizard
Posts: 1
Registered: ‎08-11-2017
0

Sending Http Post to update a Job receiving a 500 error

Hello, hope everything goes well. I am sending HTTP's post to 

 

https://api.sohnar.com//TrafficLiteServer/openapi/job

 

PostMessage:

 

<job id="2384082" version="2" dateCreated="2017-08-11T18:56:11" dateModified="2017-08-11T18:56:11">
<jobNumber>E2396581</jobNumber>
<jobStateType>DRAFT</jobStateType>
<jobBillingStateType>NOT_BILLED</jobBillingStateType>
<internalDeadline>2017-08-11T18:56:11</internalDeadline>
<billableJob>true</billableJob>
<freeTags>1GBP</freeTags>
</job>

 

Error Received:

<h1>HTTP Status 500 - Throwable occured in Service Layer:</h1>
<hr noshade="noshade" size="1"/>
<p>
<b>type</b>
Status report
</p>
<p>
<b>message</b>
<u>Throwable occured in Service Layer:</u>
</p>
<p>
<b>description</b>
<u>The server encountered an internal error that prevented it from fulfilling this request.</u>
</p>
<hr noshade="noshade" size="1"/>
<h3>Apache Tomcat/7.0.59</h3>

 

I need some support to fix this problem, please.

 

Thankss.