Agreement ========= A agreement resource represents the agreement between Crayon and an organization for a license program. Resource definition ------------------- .. literalinclude:: _static/Agreement.json :language: json +---------------------------+-----------------+---------------------------------------------------------------------------------+ | Name | Type | Description | +===========================+=================+=================================================================================+ | Id | int | Identifer of the agreement | +---------------------------+-----------------+---------------------------------------------------------------------------------+ | Organization | ObjectReference | The organization the agreement is connected to | +---------------------------+-----------------+---------------------------------------------------------------------------------+ | Name | string | Reference of the current address, like company/building/person | +---------------------------+-----------------+---------------------------------------------------------------------------------+ | SalesPriceCurrencyCode | string | The currency prices will be displayed in | +---------------------------+-----------------+---------------------------------------------------------------------------------+ | StartDate | DateTime | When agreement becomes active | +---------------------------+-----------------+---------------------------------------------------------------------------------+ | EndDate | DateTime | When agreement becomes inactive | +---------------------------+-----------------+---------------------------------------------------------------------------------+ | Disabled | bool | If agreement is enabled/disabled | +---------------------------+-----------------+---------------------------------------------------------------------------------+ | Publisher | ObjectReference | The publisher this agreement is connected to | +---------------------------+-----------------+---------------------------------------------------------------------------------+ | Program | ObjectReference | The program this agreement is connected to | +---------------------------+-----------------+---------------------------------------------------------------------------------+ | Number | string | | +---------------------------+-----------------+---------------------------------------------------------------------------------+ | CustomerNumber | string | | +---------------------------+-----------------+---------------------------------------------------------------------------------+ | MasterAgreement | string | | +---------------------------+-----------------+---------------------------------------------------------------------------------+ | HasTerms | bool | If agreement has terms connected to it | +---------------------------+-----------------+---------------------------------------------------------------------------------+ Operations on Addresses ----------------------------- - :doc:`/scenarios/agreements-get`