Select Git revision
backend-routes-and-json
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
backend-routes-and-json 1.17 KiB
## Reitit
- /login
- /logout
- /api/tag
- /api/references
- /api/reference/<1-?>
## JSON
#### GET
TAG : {
id: '1',
name: 'qwe'
version: '123'
}
REFERENCES: {
projectId: '1'
permission: 0,1,2
departmentNumber: 'asd'
projectName: 'asd'
approved: bool
portfolioManager: 'qwe'
}
REFERENCE: {
projectId: '1'
permission: 0,1,2
departmentNumber: 'asd'
projectName: 'asd'
approved: bool
portfolioManager: 'qwe'
projectManager: 'qwe'
description: 'qwe'
startDate: 'qwe'
endDate: 'qwe'
htp: 1230
price: 1231
}
#### POST
* = vakio
REFERENCE: {
projectId: '1'
projectName: 'asd'
projectManagerFirstName: 'qwe'
projectManagerLastName: 'qwe'
startDate: 'qwe'
endDate: 'qwe'
htp: 'qwe'
price: 'qwe'
permission: 0,1,2
approved: false*
description: 'qwe'
businessId: '1'
departmentNumber: 'asd'
portfolioManager: '1'
}
SEARCH: {
searchValue: 'qwe'
idValue: '1'
minHtp: '123'
maxHtp: '123'
startDate: '123'
endDate: 'asd'
selectedTags: [
1
2
]
}
CUSTOMER: [
{
id: 123
name: 'asd'
}
}