Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 19 Next »

isValidKFSProjects(List of (kfsProjCode))

This service is used to validate KFS Project codes. Returns an XML result set with a value of true or false for each project code.

Input Specifications

ParameterDescriptionRequired?Data Type (max length)Example
kfsProjCodeKFS Project NumberYesString(10)'1234567890'

DB Query

SELECT PROJECT_CD, PROJ_ACTIVE_CD FROM dwhs_ods..ca_project_t WHERE PROJ_ACTIVE_CD <> 'N' and PROJECT_CD IN ('<kfsProjectCode>');

Result Schema: A list of following elements (ProjectValidation.java)

ParameterDescriptionData TypeExample
kfsProjCodeKFS Project CodeString (10)'1234567890'
isValidIs the KFS Project Code valid?booleantrue 

WS Example

Request
 
Response
 

Java Client Example

 

getValidKFSProjects(List of (kfsProjectCode))

This service is used to return all active KFS Project details.

Input Specifications

ParameterDescriptionRequired?Data Type (max length)Example
kfsProjCodeKFS Project NumberYesString(10)'1234567890'

DB Query

SELECT p.PROJECT_CD,
p.PROJ_MGR_UNVL_ID,
p.PROJECT_NM,
p.FIN_COA_CD,
p.ORG_CD,
p.PROJ_ACTIVE_CD,
p.PROJECT_DESC
FROM dwhs_ods..ca_project_t p WHERE
p.proj_active_cd <> 'N' and p.PROJECT_CD in ('<kfsProjectCode>');

Result Schema: A list of following elements (ProjectDetails.java)

DB ParameterJava ParameterDescriptionData TypeExample
PROJECT_CDkfsProjCodeKFS Project CodeString (10)'1234567890'
PROJ_MGR_UNVL_IDkfsProjManagerIdThe User ID of the person responsible for the projectString(10) 
PROJECT_NMkfsProjNameThe long descriptive name of the projectString(40) 
FIN_COA_CDkfsChartCodeThe chart code associated with the organization assigned to the project codeString(2) 
ORG_CDkfsOrgCodeThe organization code associated with the projectString(4) 
PROJ_ACTIVE_CDkfsProjActiveCodeIndicates if the project is active.String(1) 
PROJECT_DESCkfsProjDescThe text description describing the purpose of the project codeString(400) 

WS Example

Request
 
Response
 

Java Client Example

 

getAllKFSProjects()

No input parameter, ALL projects will be returned in result set.

DB Query

SELECT p.PROJECT_CD,
p.PROJ_MGR_UNVL_ID,
p.PROJECT_NM,
p.FIN_COA_CD,
p.ORG_CD,
p.PROJ_ACTIVE_CD,
p.PROJECT_DESC
FROM dwhs_ods..ca_project_t p WHERE
p.proj_active_cd <> 'N';

Result Schema: Same as getValidKfsProjects

WS Example

Request
 
Response
 

Java Client Example

 
  • No labels