Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

Version 1 Next »

Works for POST and application/x-www-form-urlencoded parameters, or GET and query parameters

namedescriptionexample valuevalidation rules
usernameUsername of registered user1234321@resellerCannot be null or empty, cannot contain spaces, user must exist
passwordPasswordpasswordCannot be null or empty, must match user's password
sinceEpoch, number of seconds since 1st Jan 1970 GMT1364545939Required, must be an integer number

Response in JSON:

{
    "newestMessageTimestamp": 1366624802,
    "hasMoreMessages": false,
    "incomingMessages": [
        {
            "documentId": "51750a01e4b0d1406c9c5fdb",
            "text": " ggghhh",
            "timestamp": 1366624769,
            "from": "61555879987",
            "originDocumentId": "517509fee4b0b1be3f128ef5"
        }
    ],
    "outgoingMessages": [
        {
            "documentId": "517509fee4b0b1be3f128ef5",
            "text": "Reply> ggghhh",
            "timestamp": 1366624766,
            "recpipent": "61555879987"
        },
        {
            "documentId": "51750a22e4b0b1be3f128ef6",
            "text": "Hello mommy",
            "timestamp": 1366624802,
            "recpipent": "61255588885"
        }
    ],
    "status": 0
}

Response parameters

  • No labels