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:

LevelElementTypeOccursDescriptionExample
RootRootAggregate1  
1VoucherCorporationEventsAggregate1  
2VoucherIdentifierNumeric/Guid1Voucher's NetvisorKey or guid depending on the `type` attribute. 1 or 2f251125-bea1-4862-ada7-0196ea0028d9
Attr.typeString1The format of the voucher identifier, either netvisorkey or guidnetvisorkey
2VoucherLineCorporationEventsAggregate1..n

3VoucherLineCorporationEventAggregate1

4VoucherLineIdentifierNumeric/Guid1Voucher line's NetvisorKey or guid depending on the `type` attribute.1 or 2f251125-bea1-4862-ada7-0196ea0028d9
Attr.typeString1The format of the voucher line identifier, either netvisorkey or guidnetvisorkey
4TargetCompanyString0..1The target company for the corporate event should be omitted if the corporate event is to be deleted.0000000-0
Attr.typeString1Target company identifier format, always organisationidentifier
organisationidentifier


Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.