Attempt to create service with given details. If service already exists look up existing service.
    :param client: Accounts Service API Client
    :param organisation_id: Id of Organisation
    :param name: Service Name
    :param location: Service Location
    :param service_type: Service Type
    :return: Service Id

def _create_service(client, organisation_id, name, location, service_type):
    """
    Attempt to create service with given details. If service already exists look up existing service.
    :param client: Accounts Service API Client
    :param organisation_id: Id of Organisation
    :param name: Service Name
    :param location: Service Location
    :param service_type: Service Type
    :return: Service Id
    """
    try:
        response = client.accounts.organisations[organisation_id].services.post(
            name=name, location=location, service_type=service_type)
        service_id = response['data']['id']
    except httpclient.HTTPError as exc:
        if exc.code == 404:
            # If error is a 404 then this means the organisation_id is not recognised. Raise this error immediately
            msg = ('Organisation {} cannot be found. '
                   'Please check organisation_id.'.format(organisation_id))
            raise click.ClickException(click.style(msg, fg='red'))
        else:
            service_id = _get_service(client, organisation_id, name)
            # If cannot find existing service, raise original error
            if not service_id:
                raise exc

    return service_id