code: public static EndpointToken create(final BandwidthClient client, final String domainId, final String endpointId) throws AppPlatformException, ParseException, IOException {
          assert (client != null && domainId != null && endpointId != null);
          return createToken(client, domainId, endpointId, null);
      }
docs: Creates an EndpointToken for the domain/endpoint
  @param client the bandwidth client.
  @param domainId the domain id.
  @param endpointId the endpoint id.
  @return the created token.
  @throws AppPlatformException API Exception
  @throws ParseException Error parsing data
  @throws IOException error