From b6af450fa761f8dc8085a4f562d8612aa519d742 Mon Sep 17 00:00:00 2001 From: eeckert Date: Fri, 8 Mar 2024 10:38:23 -0700 Subject: [PATCH] initial framework commit --- Ajera-ListProjects.ps1 | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 Ajera-ListProjects.ps1 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