API:SalesUpdate

From MCM Combat Operations
Jump to: navigation, search

Record of a product being administratively added to a user's account.

URI: /salesupdates/2

See also:

api:Sale

api:Product

Example Request

GET /salesupdates/2
Accept: application/hal+json

 -- response --
200 OK
Content-Type:  application/hal+json

{
    "_links": {
        "self": {
            "href": "\/salesupdates\/2"
        },
        "curies": [
            {
                "name": "mcm",
                "href": "http:\/\/wiki.mcm-systems.net\/index.php?title=api:{rel}",
                "templated": true
            }
        ],
        "mcm:delivery": {
            "href": "\/salesupdates\/2\/delivery"
        },
        "mcm:product": {
            "href": "\/products\/294"
        }
    },
    "salesUpdateID": "2",
    "productID": "294",
    "User": "Lucian Collas",
    "updateValue": "1200",
    "updateBy": "Lucian Collas",
    "date": "2015-01-24",
    "reason": "Just testing the system"
}