Request

GET /notification/5231ccd84ab63c53dc90057f/

Response

200 OK
Content-Type: application/json
{
    "new_state": "REGISTERED", 
    "read": false, 
    "previous_state": "DRAFT", 
    "sent_at": "2013-09-12T14:16:56.519000+00:00", 
    "invoice": "/api/v1/invoice/5231ccd64ab63c53dc90057d/", 
    "id": "5231ccd84ab63c53dc90057f", 
    "resource_type": "invoice_changed_state_ne", 
    "resource_uri": "/api/v1/notification/5231ccd84ab63c53dc90057f/"
}

Request

GET /notification/5231ccd84ab63c53dc90057f/

Response

200 OK
Content-Type: application/xml; charset=utf-8
<object>
  <new_state>REGISTERED</new_state>
  <read type="boolean">False</read>
  <previous_state>DRAFT</previous_state>
  <sent_at>2013-09-12T14:16:56.519000+00:00</sent_at>
  <invoice>/api/v1/invoice/5231ccd64ab63c53dc90057d/</invoice>
  <id>5231ccd84ab63c53dc90057f</id>
  <resource_type>invoice_changed_state_ne</resource_type>
  <resource_uri>/api/v1/notification/5231ccd84ab63c53dc90057f/</resource_uri>
</object>

Request

GET /notification/5231ccd84ab63c53dc90057f/

Response

200 OK
Content-Type: text/yaml; charset=utf-8
{id: !!python/unicode '5231ccd84ab63c53dc90057f', invoice: !!python/unicode '/api/v1/invoice/5231ccd64ab63c53dc90057d/',
new_state: !!python/unicode 'REGISTERED', previous_state: !!python/unicode 'DRAFT',
read: false, resource_type: !!python/unicode 'invoice_changed_state_ne', resource_uri: !!python/unicode '/api/v1/notification/5231ccd84ab63c53dc90057f/',
sent_at: '2013-09-12T14:16:56.519000+00:00'}