add service basic api