Steamworks-dokumentaatio
HistoryExecuteCommand/v0001
Tämä antaa elementtipalvelimelle käskyn lähettää kutsusta GetHistoryCommandDetails muutokset, jotka tuen henkilö valitsi.

Kutsuja: Tukityökalu

HTTP-metodi: POST

Parametrit:


NimiTyyppiPakollinenKuvaus
keystringThis is the "Asset Server Key" that you provided in your app's Steam Economy Settings on the partner site.
appiduint3232bit App ID of the application associated with the assets.
steamiduint64The 64-bit Steam ID of the user to return assets for.
contextiduint64The 64-bit ID of the context these assets can be found in.
actoriduint32The 32-bit ID of the support agent executing this command. Use this for recording a change history.
command#uint32The name of the command action to perform on the matching asset. For N assets there will be multiple command parameters numbering 0, 1, ..., N-1.
id#uint64The 64-bit asset ID of the asset to modify with this command.
argument#stringThe argument string passed back from GetHistoryCommandDetails/v0001 for this action on this asset.
commandstringThe overall command being executed as returned by GetUserHistory/v0001
argumentsstringThe arguments string that was returned from GetUserHistory/v0001 for this command.

Paluuarvot:

Metodin palautuksen tulisi olla koodattu JSON-muodossa.

Vastaus:
  • result
    • success – True (tosi), jos metodi onnistui. Jos elementtipalvelin palauttaa false (epätosi), tulisi se määrittää error merkkijonoon, joka selittää sen syyn.
    • error – Merkkijono, joka kertoo syyn kutsun epäonnistumiselle. Viesti tallennetaan virhelokiin, joka on saatavilla Steamworks-sivuston Talous-välilehdellä.
    • summary (valinnainen) – Merkkijono, joka näytetään tuen toimintolokissa tämän tilin toiminnolle. Oletus: historiakomento.