Add_request with requestor and technician keys

Add_request with requestor and technician keys

Hello,

I use the following script with two API keys - requestor and the technician.

With technician key request performs without any problems with the selection of a set template "Заявка".

Request:

10.239.88.16/sdpapi/request/?OPERATION_NAME=ADD_REQUEST&TECHNICIAN_KEY=510263CE-AC78-4E83-BFD9-BAA47095C7E3&format=json&INPUT_DATA={"operation":{"details":{"requesttemplate":"Заявка","subject":"Problem","description":"bla-bla","priority":"SLA 8"}}}


Response:

{"operation":{"result":{"status":"Success","message":"Request details added successfully."},"Details":{"WORKORDERID":"214","REQUESTER":"Инженер1","CREATEDBY":"Инженер1","CREATEDTIME":"1472476638762","DUEBYTIME":"1472728638762","RESPONSEDUEBYTIME":"1472559438762","FR_DUETIME":"1472559438762","RESPONDEDTIME":"0","RESOLVEDTIME":"0","COMPLETEDTIME":"0","SHORTDESCRIPTION":"bla-bla","TIMESPENTONREQ":"0hrs 0min","SUBJECT":"Problem","REQUESTTEMPLATE":"Заявка","SLA":"8","DEPARTMENT":"","EDITORID":"null","EDITING_STATUS":"0","IS_CATALOG_TEMPLATE":"false","SITE":"","ISVIPUSER":"No","CATEGORY":"","TECHNICIAN":"","TECHNICIAN_LOGINNAME":"-","STATUS":"Открыта","PRIORITY":"SLA 8","APPROVAL_STATUS":"","CLOSURECODE":"","CLOSURECOMMENTS":"","FCR":"false","YETTOREPLYCOUNT":"","GROUP":"","DESCRIPTION":"bla-bla"}}}

With requestor key request always takes default template "Default Request", despite the fact that the request template "Заявка" is alowed for requestor.

Request:

10.239.88.16/sdpapi/request/?OPERATION_NAME=ADD_REQUEST&TECHNICIAN_KEY=5942CC54-7964-476F-BC60-0D8801AF8F81&format=json&INPUT_DATA={"operation":{"details":{"requesttemplate":"Заявка","subject":"Problem","description":"bla-bla","priority":"SLA 8"}}}


Response:

{"operation":{"result":{"status":"Success","message":"Request details added successfully."},"Details":{"WORKORDERID":"213","REQUESTER":"ДП \\\"Коника Минолта Украина\\\"","CREATEDBY":"ДП \\\"Коника Минолта Украина\\\"","CREATEDTIME":"1472476054821","DUEBYTIME":"-1","RESPONDEDTIME":"0","RESOLVEDTIME":"0","COMPLETEDTIME":"0","SHORTDESCRIPTION":"","TIMESPENTONREQ":"0hrs 0min","SUBJECT":"(no subject)","REQUESTTEMPLATE":"Default Request","DEPARTMENT":"","EDITORID":"null","EDITING_STATUS":"0","IS_CATALOG_TEMPLATE":"false","SITE":"","ISVIPUSER":"Yes","STATUS":"Открыта","PRIORITY":"","CLOSURECODE":"","CLOSURECOMMENTS":"","FCR":"false","YETTOREPLYCOUNT":"","GROUP":"","DESCRIPTION":""}}}


Could you please check, do you have the same issue ?

                New to ADManager Plus?

                  New to ADSelfService Plus?