This snippet is intended for users who'd like to create a company in Project Insight:
curl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' -d '{
"Address1": "123 Test Ave.",
"City": "Testville",
"PostCode": "99999",
"Country": "USA",
"Phone": "999-999-9999",
"Fax": "888-888-8888",
"EmailAddress": "test@test.com",
"IsInternal": true,
"IsAutomaticallySetupCommunicateAddedCompany": true,
"IsTimeAndExpenseEntryEnabled": true,
"IsProjectAssignmentEnabled": true,
"IsPermissionAssignmentEnabled": true,
"IsActive": true,
"Name": "Test Company"
}' 'http://dev22.sandbox.projectinsight.net/ProjectInsight.WebApp/api/company'
Comments
0 comments
Please sign in to leave a comment.