positions assignment api handle options http method