Periods

Retrieve a period from Basecone by it's unique identifier.

GET periods/:id

Period properties

Property Type Description
periodId Guid Unique identifier of period
Year int Year of period
Number int Name of period
StartDate DateTime Start date of period
EndDate DateTime End date of period
externalId string External identifier from accounting system

Example response:

{
    "externalId": "10050070-d3e0-42a1-ae97-f175dedfa2e4",
    "periodId": "fcfec9ff-e80a-4fcc-8e74-a82c00ee0026",
    "number": 6,                
    "startDate": "2014-06-01T00:00:00",                
    "endDate": "2014-06-30T00:00:00",
    "year": 2014,
    "_links":[{
            "rel": "self",
            "href": "http://localhost:54434/periods/fcfec9ff-e80a-4fcc-8e74-a82c00ee0026"
    }]
}