public interface AskFastRestService
| Modifier and Type | Method and Description |
|---|---|
retrofit.client.Response |
buyAdapter(String adapterId) |
Dialog |
createDialog(Dialog dialog) |
Set<Adapter> |
getAdapters(String type) |
List<DDRRecord> |
getDDRRecords(String delimitedAdapterIds,
String delimitedAdapterTypes,
String fromAddress,
String typeId,
String status,
Long startTime,
Long endTime,
String delimitedSessionKeys,
Integer offset,
Integer limit,
Boolean shouldGenerateCosts,
Boolean shouldIncludeServiceCosts) |
Dialog |
getDialog(String dialogId) |
Set<Dialog> |
getDialogs() |
Set<Adapter> |
getFreeAdapters(String adapterType,
String address) |
retrofit.client.Response |
removeAdapter(String adapterId) |
retrofit.client.Response |
removeDialog(String dialogId) |
String |
startDialog(DialogRequest req) |
Adapter |
updateAdapter(String adapterId,
Adapter adapter) |
Dialog |
updateDialog(String dialogId,
Dialog dialog) |
@POST(value="/startDialog") String startDialog(@Body DialogRequest req)
@POST(value="/adapter/{adapterId}")
retrofit.client.Response buyAdapter(@Path(value="adapterId")
String adapterId)
@GET(value="/free_adapters") Set<Adapter> getFreeAdapters(@Query(value="adapterType") String adapterType, @Query(value="address") String address)
@DELETE(value="/adapter/{adapterId}")
retrofit.client.Response removeAdapter(@Path(value="adapterId")
String adapterId)
@GET(value="/dialog/{dialogId}")
Dialog getDialog(@Path(value="dialogId")
String dialogId)
@PUT(value="/dialog/{dialogId}")
Dialog updateDialog(@Path(value="dialogId")
String dialogId,
@Body
Dialog dialog)
@DELETE(value="/dialog/{dialogId}")
retrofit.client.Response removeDialog(@Path(value="dialogId")
String dialogId)
@GET(value="/ddr") List<DDRRecord> getDDRRecords(@Query(value="adapterIds") String delimitedAdapterIds, @Query(value="adapterTypes") String delimitedAdapterTypes, @Query(value="fromAddress") String fromAddress, @Query(value="typeId") String typeId, @Query(value="status") String status, @Query(value="startTime") Long startTime, @Query(value="endTime") Long endTime, @Query(value="sessionKeys") String delimitedSessionKeys, @Query(value="offset") Integer offset, @Query(value="limit") Integer limit, @Query(value="shouldGenerateCosts") Boolean shouldGenerateCosts, @Query(value="shouldIncludeServiceCosts") Boolean shouldIncludeServiceCosts)
Copyright © 2015 AskFast BV. All rights reserved.