diff --git a/Ajera-ListProjects.ps1 b/Ajera-ListProjects.ps1 new file mode 100644 index 0000000..7334209 --- /dev/null +++ b/Ajera-ListProjects.ps1 @@ -0,0 +1,27 @@ +<# +https://help.deltek.com/Product/Ajera/api/projects.html#messages-api-endpoint-post + + +#> + + +$MPE_Ajera_URI = "https://ajera.mpe.ca/ajera/AjeraAPI.ashx" +$MPE_Ajera_API_Token = + + +$req_body = @{ + Method = 'ListProjects' + SessionToken = '' + MethodArguments = @{ + FilterByStatus = '["Active", "Hold"]' + FilterByCompany = '[1]' + FilterByNameLike = "Description" + FilterByDescriptionLike = "Project Description" + FilterByDescriptionEquals = "Project Description" + FilterByIDLike = "03-M4" + FilterByProjectType = '[1, null]' + FilterBySyncToCRM = '[true]' + FilterByEarliestModifiedDate = "2015-03-11" + FilterByLatestModifiedDate = "2015-03-11" + } +} \ No newline at end of file