Hey guys.. some updates: Now it's working the service! Thank you!
I have another question now..
I'm trying to create a new ticket and i'm doing this:
POST -> http://{host}/caisd-rest/in with this json:
{
"in": {
"@id": "U' {ID HERE}'",
"@REL_ATTR": "U'{ID HERE}'",
"@COMMON_NAME": "WEB",
"description": "Descrição TESTE REST",
"pcat": "401634",
"summary": "Sumário via REST",
"status": "OP",
"customer": "U'{ID HERE}'",
"type": "I",
"priority": "3",
"string6": "Cliente web externo",
"z_local": "TJBA COSIS",
"email_address": "teste1@tes.com",
"customer.phone_number": "(75) 98933-6968",
"z_alt_phone_number": "(71) 65665-6969",
"zs_email_preferencial": "teste2@teste.com",
"zs_oab": "985",
"z_comarca": "400003",
"z_cidade": "400003",
"z_lotacao": "402981"
}
}
I'm getting '400 bad request' code. Is there something that am I missing? Obs: I'm using POSTMAN to request.
Thank you for all!
Original Message:
Sent: 11-22-2019 04:19 PM
From: Lindsay Estabrooks
Subject: CA SDM Rest API is not working
Your original screen capture only shows payload but not headers. If the rest_access call works then it is definitely not Tomcat.
------------------------------
Lindsay Estabrooks
Principal Consultant
IT-EDU Consultants
Original Message:
Sent: 11-14-2019 09:28 AM
From: Rafael Oliveira
Subject: CA SDM Rest API is not working
Hey you all,
How are you? Can someone help me?
I'm developer and the team are facing problem with the CA SDM Rest API interface. We have the CA SDM here to open incident tickets right?
SOAP and REST are seem enabled..
POST -> http://{host}/caisd-rest/rest_access WORKS and receive (201 created) a token
POST -> http://{host}/caisd-rest/in to post a new incident it does not work (404 not found) - It seems that this resource does not exist or isnt available.
So we cannot POST a new request and GET informations about some request on server.
Has anyone faced this? Is there problems with Tomcat or something that should be enabled?
Thank you!