actionGeCreateSellOrderMyNameActionGrandexchangeCreateSellOrderPostWithHttpInfo method
Future<Response>
actionGeCreateSellOrderMyNameActionGrandexchangeCreateSellOrderPostWithHttpInfo(
- String name,
- GEOrderCreationSchema gEOrderCreationSchema, {
- Future<
void> ? abortTrigger,
Action Ge Create Sell Order
Create a sell order at the Grand Exchange on the character's map.
Note: This method returns the HTTP Response.
Parameters:
-
String name (required): Name of your character.
-
GEOrderCreationSchema gEOrderCreationSchema (required):
Implementation
Future<Response>
actionGeCreateSellOrderMyNameActionGrandexchangeCreateSellOrderPostWithHttpInfo(
String name,
GEOrderCreationSchema gEOrderCreationSchema, {
Future<void>? abortTrigger,
}) async {
// ignore: prefer_const_declarations
final path = r'/my/{name}/action/grandexchange/create_sell_order'
.replaceAll('{name}', name);
// ignore: prefer_final_locals
Object? postBody = gEOrderCreationSchema;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const contentTypes = <String>['application/json'];
return apiClient.invokeAPI(
path,
'POST',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
abortTrigger: abortTrigger,
);
}