Skip to content

Instantly share code, notes, and snippets.

@zskamljic
Created August 16, 2021 08:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zskamljic/73b6ca2730fdc51353dd8c044b434f8e to your computer and use it in GitHub Desktop.
Save zskamljic/73b6ca2730fdc51353dd8c044b434f8e to your computer and use it in GitHub Desktop.
var request = new ProjectCreateOrUpdate();
request.setContactId(UUID.randomUUID());
request.setName("Project from API");
request.setDeadlineUtc(OffsetDateTime.now().plusDays(5));
request.setEstimateAmount(15.);
var credentials = xeroAuthService.getCredentials();
projectApi.createProject(credentials.token(), credentials.tenant(), request);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment