[Rt-devel] Using REST from php

Ann Wald as9g at yahoo.com
Wed Nov 29 23:05:43 EST 2006


Hello,

I am trying to create a ticket using the REST API.

The URL I am using is as follows:

http://localhost/rt3/REST/1.0/ticket/new/?user=root&pass=XXXX&queue=default&subject=test&requestor=tester


This is what I get back:

# Required: Queue, Requestor, Subject

id: ticket/new
Queue: General
Requestor: root
Subject: 
Cc:
AdminCc:
Owner: 
Status: new
Priority: 0
InitialPriority: 0
FinalPriority: 0
TimeEstimated: 0
Starts: 2006-11-30 04:02:41
Due: 2006-11-30 04:02:41
Text: 

I have been unable to find documentation on how to construct the REST URI.
Admittedly I am new to REST, and I don't know perl,
but can anyone tell me what am I doing wrong?

Ann






__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the Rt-devel mailing list