_getCostType

(API version 2.0)

WDS_CostTypeItem[] _getCostType ( string kodf , string username , string pass )

Description

Function returns type of costs according to company settings.

Categories

Tags

Parameters

string kodf
company code
string username
user name
string pass
password

Return value

WDS_CostTypeItem[]
  • WDS_CostTypeItem
    • int IdType

      cost ID

    • string Name

      type of cost

    • int IsFuel

      fuel index :
      0 - other cost
      1 - fuel
      2 - secondary fuel

Examples

API version 2.0

$client = new SoapClient('https://api.webdispecink.cz/code/WebDispecinkServiceNet.php?wsdl');
$return = $client->_getCostType($kodf, $username, $pass);

Test

To test the function, enter parameters in form below and press Try it out button.

company code
user name
password

* Required field