createProject
Create one or more new projects
/Projects
Usage and SDK Samples
xero_client.set_token_set(user.token_set)
xero_tenant_id = 'xeroTenantId_example'
idempotency_key = 'KEY_VALUE'
begin
response = xero_client.accounting_api.create_project(xero_tenant_id, projectCreateOrUpdate, idempotency_key)
return response
rescue XeroRuby::ApiError => e
puts "Exception when calling create_project: #{e}"
end
Scopes
projects | Grant read-write access to projects |
Parameters
Name | Description |
---|---|
Xero-Tenant-Id* |
String
Xero identifier for Tenant
Required
|
Idempotency-Key |
String
This allows you to safely retry requests without the risk of duplicate processing. 128 character max. |
Name | Description |
---|---|
projectCreateOrUpdate * |
ProjectCreateOrUpdate
Required
|