A PHP Error was encountered

Severity: Notice

Message: Undefined index: HTTP_ACCEPT_LANGUAGE

Filename: core/MY_Controller.php

Line Number: 258

Backtrace:

File: /home/lourenss/www/pingen_www/application/core/MY_Controller.php
Line: 258
Function: _error_handler

File: /home/lourenss/www/pingen_www/application/core/MY_Controller.php
Line: 54
Function: get_browser_language

File: /home/lourenss/www/pingen_www/application/controllers/Api.php
Line: 7
Function: __construct

File: /home/lourenss/www/pingen_www/index.php
Line: 316
Function: require_once

Pingen | Send Letters Online for Private, Business and Software Developers

Field guide

The following fields are available in a letter object.

NameTypeExampleNotes
idint3The ID of the document
titlestringMy letter titleTitle of letter
datedate2012-08-10Date of letter
placestringZürichThe letter place of creation
contentstringDear Mr. SmithFull content of the letter
recipientstringJohn DoeRecipient name
companystringFirma GmbHCompany of recipient
addressstringStreet Number Code CityFull address of letter
countrystringDECountry for letter ISO, 2-digit
signature_idint4The id of the signature used
layout_idint5Layout used in this letter
user_idint5The id of the user that created the letter
pagesint2Number of pages in letter
statusint100Status describing the letter
sentint1Defining if this document has already been sent

Example

    {
        "id":2,
        "title":"Request for transfer papers",
        "date":"2012-08-12",
        "place":"Zürich",
        "content":"Dear Rian...",
        "recipient":"Rian Smith",
        "company":"ACME GmbH",
        "address":"Subsidiarystreet 2\n3000 Bern\nSwitzerland",
        "country":"CH",
        "signature_id":0,
        "layout_id":1,
		"user_id":4,
        "pages":1,
        "status":1,
        "sent":1
    }
    

Status

StatusMeaning of status
1Normal / OK
99Deleted