Nedidelis programinis pavyzdys kaip pesitelkus API dirbti su sąskaitos serijomis.
$config = array(
'apiKey' => '',
'companyId' => 1,
);
$newSeriaParams = array(
'type' => 'bill',
'action' => 'seria',
'Bill' => array(
'Type' => 'bill', // pre | bill | other
'Test' => '1',
),
);
$respondNewSeria = json_decode(UseCURLSocket('https://www.saskaitos.lt/api', array_merge($config, $newSeriaParams)));
Pilną PHP programavimo kalba parašyta API pavyzdį rasite nuspaude šią nuorodą.
Norite pradėti?
Jau turite Saskaitos.lt paskyrą? Prisijunkite.
|
Pradėti dabar |