uBugtrack
Plans & pricing
Login/Register Free
uBugtrack
Plans & pricing
Tasks/Issues
Releases
Crashes
Stats
Login/Register Free
Tasks/Issues List
Releases
Crash Reporter
Stats
Edit #182
Project
CBTS - Dev - obsoleted
Opened by
Steven Loh
On
2017-03-14
Status
Closed
Labels
Task
Priority
Assigned To
JinSheng.Ooi
External ID
Open in release
Fixed/Target in release
Enable Markdown -
Preview
What Is Markdown?
##### Created 14 Mar 2017, by Steven Loh ### Objective Provide a set of web API for Internal Costing module. ### API list and endpoints #### GET costsheet/internal/globals/index 1. Returns the global data required by the internal costing listing page. 1. Focus on returning data for web controls inside Advanced Search panel. #### GET costsheet/internal/globals/edit 1. Returns the global data required by the add/edit pop-up for internal costing module. 1. Focus on returning data for web controls for data selection, e.g. dropdown boxes. Do not return data that are costsheet specific. #### GET costsheet/internal/?[get-params] 1. Returns list of internal costing available on the system. 1. GET params shall accomodate requirements by listing page advanced search, and standard q, p, n and o params. 1. Every element in the data array shall only return internal costing details required by the listing table. #### GET costsheet/internal/{id} 1. Returns an object representing one internal costing record containing only the required data to be used by the view and add/edit pop-up. 1. Returns costsheet view model with dummy data if {id} is -1, and empty view model with default values if {id} is 0. 1. Returns 404 if the costsheet does not belong to internal costing type. #### POST costsheet/internal 1. Creates a new internal costing. #### PUT costsheet/internal/{id} 1. Updates an existing internal costing identified by {id}. 1. Updating of an internal costing only allowed for costsheet with status: - New - Confirmed (within accounting period) #### GET costsheet/internal/{id}/status 1. Returns a collection (log) of status of the internal costing identified by {id}, sorted by `CREATE_DATE` of the status. 1. This API returns all records and does not support any `get-params`. #### POST costsheet/internal/{id}/status 1. Creates a new status for the internal costing. 1. This API is used to change the latest status of an internal costing and creates a log of the status change of the costsheet, e.g. confirmed, rejected, cancelled. ### Others 1. API for internal costing does not implement the DELETE method. 1. Estimation: 60 hours, including database schema design and implementation, FO integration.
[Billing - Costing] : Costsheet API
Created 14 Mar 2017, by Steven Loh
Objective
Provide a set of web API for Internal Costing module.
API list and endpoints
GET costsheet/internal/globals/index
Returns the global data required by the internal costing listing page.
Focus on returning data for web controls inside Advanced Search panel.
GET costsheet/internal/globals/edit
Returns the global data required by the add/edit pop-up for internal costing module.
Focus on returning data for web controls for data selection, e.g. dropdown boxes. Do not return data that are costsheet specific.
GET costsheet/internal/?[get-params]
Returns list of internal costing available on the system.
GET params shall accomodate requirements by listing page advanced search, and standard q, p, n and o params.
Every element in the data array shall only return internal costing details required by the listing table.
GET costsheet/internal/{id}
Returns an object representing one internal costing record containing only the required data to be used by the view and add/edit pop-up.
Returns costsheet view model with dummy data if {id} is -1, and empty view model with default values if {id} is 0.
Returns 404 if the costsheet does not belong to internal costing type.
POST costsheet/internal
Creates a new internal costing.
PUT costsheet/internal/{id}
Updates an existing internal costing identified by {id}.
Updating of an internal costing only allowed for costsheet with status:
New
Confirmed (within accounting period)
GET costsheet/internal/{id}/status
Returns a collection (log) of status of the internal costing identified by {id}, sorted by
CREATE_DATE
of the status.
This API returns all records and does not support any
get-params
.
POST costsheet/internal/{id}/status
Creates a new status for the internal costing.
This API is used to change the latest status of an internal costing and creates a log of the status change of the costsheet, e.g. confirmed, rejected, cancelled.
Others
API for internal costing does not implement the DELETE method.
Estimation: 60 hours, including database schema design and implementation, FO integration.
Comments
Commits
JinSheng.Ooi
was assigned by Steven Loh
Tuesday March 14, 2017 - 07:23:01
Terence Goh
change status to
Ready for Testing
Wednesday May 31, 2017 - 05:48:19
Display Comment and Event
All
Only Comment
Only Event
You don't have any commit attached on this ticket.
How integrate with source control
WARNING !!
Are you sure you want to delete ticket #182 ?