avtalegiros
Create Norwegian avtalegiron
Creates an empty avtalegiro that will be sent to the bank. Requires logged on user.
Request
POST:APIURL/avtalegiros.xml companyid=1 apikey=338934897438
Parameters
Name | Value | Description | Data type | Default |
---|---|---|---|---|
companyid | companyid=4 | The ID for the company that will own the avtalegiro contract | ID | Â |
Response
The same as the listing of an avtalegiron
Â
List avtalegiron
Request
GET: APIURL/avtalegiros.xml?apikey=338934897438
Parameters
Name | Value | Description | Data type | Default |
---|---|---|---|---|
companyid | companyid=4 | If specified, retrieve the avtalegiro from that specific company. | ID | Â |
Response
Tag | Example | Data type | Description |
---|---|---|---|
id | <id>23</id> | ID | Unique ID |
kid | <kid>000000400000006</kid> | Sträng | KID-number |
personid | <personid>5</personid> | ID | Person ID |
contractsent | <contractsent>2015-02-15</contractsent> | Datum | When the contract was sent |
active | <active>true</active> | Boolean | The avtalegirot is active |
canceled | <canceled>false</canceled> | Boolean | The avtalegirot is cancelled |
company | <company><id>1</id><name>Acme INC.</name></company> | Â | Company information |
<avtalegiros> <avtalegiro> <id>23</id> <kid>000000400000006</kid> <personid>5</personid> <contractsent>2015-02-15</contractsent> <active>false</active> <canceled>false</canceled> </avtalegiro> </avtalegiros>
Â
Â
Â