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: Scott Koranda <>
  • To: Benn Oshrin <>
  • Cc:
  • Subject: Re: [comanage-dev] error after authentication
  • Date: Sat, 2 Mar 2013 07:32:20 -0600
  • Authentication-results: sfpop-ironport07.merit.edu; dkim=pass (signature verified)

On Sat, Mar 2, 2013 at 7:30 AM, Benn Oshrin
<>
wrote:
> 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",

I didn't have a problem with "Office", it was "Forwarding".

Thanks,

Scott

> "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