cancel
Showing results for 
Search instead for 
Did you mean: 

Service Layer Patch error 500

michael_zocly972
Explorer
0 Kudos
300
  • Hi everyone,

I,m facing an issue with the patch method on Service Layer. I reach to realise get,post and delete method however impossible to realise patch method. I get the error message :

HTTP/1.1 500 Internal Server Error
Date: Thu, 18 Nov 2021 13:17:53 GMT
Server: Apache
Content-Length: 0
Connection: close

My code with windev below. Can I have an solution please ?

TestRestRequeteest une httpRequête<br>vBusinessPartnersest un JSON<br><br>TestRestRequete.URL="http://mon-serveur:50001/b1s/v1/BusinessPartners('CZZZ')"<br>TestRestRequete.Méthode=httpPatch<br>TestRestRequete.TimeoutConnexion=60000<br>TestRestRequete.ContentType="application/json"<br>TestRestRequete.Entête["Content-Transfer-Encoding"]="binary"<br>TestRestRequete.Entête["Cookie"]="B1SESSION="+TestSLayerSessionID//id de connexion<br>vBusinessPartners=Null<br>vBusinessPartners.CardCode="CZZZ"<br>vBusinessPartners.CardName="Les chantiers de l'Oise E"<br>vBusinessPartners.CardType="C"<br>TestRestRequete.Contenu=vBusinessPartners

Accepted Solutions (0)

Answers (0)