Resource: vouchercorporationevent.nv

HTTP-method: POST

   Editing corporation events with this api resource can modify the allocation of voucher lines to other companies within the corporation. Only one voucher is processed per request. Corporation event editing can allocate voucher lines or remove/edit allocations from non-eliminated voucher lines. Voucher lines not included in the message remain unchanged; to remove an allocation, omit the TargetCompany element when importing the desired row. Voucher lines cannot be allocated to different companies.

The imported data is sent with the call as XML according to the following description (POST-data):

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

3VoucherLineCorporationEventAggregate1..n

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
This article has been translated using an AI-based translation tool. The contents or wording of these instructions may differ from those in other instructions or in the software.


Did you find it helpful? Yes No

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