Resource: vouchercorporationevent.nv
HTTP-method: POST
By this api resource it is possible edit the allocation of voucher lines to other companies in the corporation. In one request can be edited only one voucher. With this api resource is possible to allocate voucher lines or remove/modify allocations from non-eliminated voucher lines. Voucher lines that are not in the request are left unchanged, to remove targeting omit the `TargetCompany` element when importing the desired line. The voucher lines cannot be allocated to different companies.
Request:
Level | Element | Type | Occurs | Description | Example |
Root | Root | Aggregate | 1 | ||
1 | VoucherCorporationEvents | Aggregate | 1 | ||
2 | VoucherIdentifier | Numeric/Guid | 1 | Voucher's NetvisorKey or guid depending on the `type` attribute. | 1 or 2f251125-bea1-4862-ada7-0196ea0028d9 |
Attr. | type | String | 1 | The format of the voucher identifier, either netvisorkey or guid | netvisorkey |
2 | VoucherLineCorporationEvents | Aggregate | 1..n | ||
3 | VoucherLineCorporationEvent | Aggregate | 1 | ||
4 | VoucherLineIdentifier | Numeric/Guid | 1 | Voucher line's NetvisorKey or guid depending on the `type` attribute. | 1 or 2f251125-bea1-4862-ada7-0196ea0028d9 |
Attr. | type | String | 1 | The format of the voucher line identifier, either netvisorkey or guid | netvisorkey |
4 | TargetCompany | String | 0..1 | The target company for the corporate event should be omitted if the corporate event is to be deleted. | 0000000-0 |
Attr. | type | String | 1 | Target company identifier format, always organisationidentifier | organisationidentifier |
Did you find it helpful? Yes No
Send feedback