remote
Array
getByPK
(
required numeric
projectrefid,
numeric
last="",
string
fields="",
required string
token
)
Get all project role information for a version of project
Methods of access are:
SOAP: http://api.bciasia.com/projectroles.cfc?wsdl&method=getByPK&projectrefid={projectrefid}(&returnFormat=wddx / &returnFormat=json)
REST: http://api.bciasia.com/rest/projectroles/{projectrefid}(.json / .xml)
Output: Array
Parameters:
projectrefid: |
numeric, required - Project reference ID of the unique project record
|
last: |
numeric, optional - Only latest published version of the project (value=1)
|
fields: |
string, optional - Fields being requested for the return data. Full list provided under "Fields" section below
|
token: |
string, required - Allocated token for current login session
|
|
remote
Array
getByQuery
(
string
companyid,
string
roleID,
string
rolegroupID,
numeric
tenderwinner="1",
required string
projectrefid,
optional string
projectid,
numeric
last="1",
numeric
version,
string
tenderid,
string
fields="",
token string
token,
numeric
NumberOfRows="1000",
numeric
StartRow="1",
string
tender_opening_from,
string
tender_opening_to,
string
tender_closing_from,
string
tender_closing_to
)
Output: Array
Parameters:
companyid: |
string, optional - ID or comma-seperated list of company IDs
|
roleID: |
string, optional - ID or comma-seperated list of role IDs
|
rolegroupID: |
string, optional - ID or comma-seperated list of role group IDs
|
tenderwinner: |
numeric, optional - Flag indicating if contact/company is the tender winner (value = 1 for winner, default, value = 2 for showing all winner and to be appointed)
|
projectrefid: |
string, optional - ID or comma-seperated list of Project reference IDs of the unique project records
|
projectid: |
string, required - ID or comma-seperated list of project IDs
|
last: |
numeric, optional - Only latest published version of the project (value=1)
|
version: |
numeric, optional - Version number of the project
|
tenderid: |
numeric, optional - ID or comma-seperated list of tender IDs
|
fields: |
string, optional - Fields being requested for the return data. Full list provided under "Fields" section below
|
token: |
string, required - Allocated token for current login session
|
NumberOfRows: |
numeric, optional - Number of results being requested in the reponse data
|
StartRow: |
numeric, optional - Start position of the data in the result recordset
|
tender_opening_from: |
string, optional - Minimum tender opening date, accepted datetime format (dd/mm/yyyy or dd/mm/yyyy HH:mi where dd represents 2 digit dates, mm represents 2 digit month, yyyy is 4 digits for year, HH represents 2 digit hours according to a 24-hr clock, mi represents 2 digits minutes)
|
tender_opening_to: |
string, optional - Maximum tender opening date, accepted datetime format (dd/mm/yyyy or dd/mm/yyyy HH:mi where dd represents 2 digit dates, mm represents 2 digit month, yyyy is 4 digits for year, HH represents 2 digit hours according to a 24-hr clock, mi represents 2 digits minutes)
|
tender_closing_from: |
string, optional - Minimum tender closing date, accepted datetime format (dd/mm/yyyy or dd/mm/yyyy HH:mi where dd represents 2 digit dates, mm represents 2 digit month, yyyy is 4 digits for year, HH represents 2 digit hours according to a 24-hr clock, mi represents 2 digits minutes)
|
tender_closing_to: |
string, optional - Maximum tender closing date, accepted datetime format (dd/mm/yyyy or dd/mm/yyyy HH:mi where dd represents 2 digit dates, mm represents 2 digit month, yyyy is 4 digits for year, HH represents 2 digit hours according to a 24-hr clock, mi represents 2 digits minutes)
|
|