Skip to Content.
Sympa Menu

comanage-dev - Re: [comanage-dev] error after authentication

Subject: COmanage Developers List

List archive

Re: [comanage-dev] error after authentication


Chronological Thread 
  • From: Benn Oshrin <>
  • To: Scott Koranda <>
  • Cc:
  • Subject: Re: [comanage-dev] error after authentication
  • Date: Sat, 02 Mar 2013 08:30:00 -0500
  • Authentication-results: sfpop-ironport01.merit.edu; dkim=neutral (message not signed) header.i=none

On 3/1/13 12:36 PM, Scott Koranda wrote:
> Here is the exact error when I attempt to hit any REST api
> with a known, good REST api user:

I can't reproduce this, or the EmailAddress error you were getting yesterday. I'm at revision 475.

-Benn-

% ./test-rest.php GET 'http://valkyrie.local/registry/email_addresses.json?copersonid=90'
Status: 204
Reason: CO Person Has No EmailAddress
Content-Type: text/html
===
===
% ./test-rest.php POST 'http://valkyrie.local/registry/email_addresses.json' ./addemail.json
Status: 201
Reason: Added
Content-Type: application/json; charset=UTF-8
===
{"ResponseType":"NewObject","Version":"1.0","ObjectType":"EmailAddress","Id":"286"}
===
% cat addemail.json
{
"RequestType":"EmailAddresses",
"Version":"1.0",
"EmailAddresses":
[
{
"Version":"1.0",

"Mail":"",
"Type":"Office",
"Verified":false,
"Person":{"Type":"CO","Id":"90"}
}
]
}
% ./test-rest.php GET 'http://valkyrie.local/registry/email_addresses.json?copersonid=90'
Status: 200
Reason: OK
Content-Type: application/json; charset=UTF-8
===
{"ResponseType":"EmailAddresses","Version":"1.0","EmailAddresses":[{"Version":"1.0","Id":286,"Type":"Office","Verified":false,"Mail":"","Person":{"Type":"Co","Id":90},"Created":"2013-03-02 13:27:23","Modified":"2013-03-02 13:27:23"}]}
===




Archive powered by MHonArc 2.6.16.

Top of Page