Sales Agreement API
The Sales Agreement API provides methods for creating a new sales agreement and retrieving an existing sales agreement of a given sys_id.
This API works with data in the Sales Agreement Management application, which managers, agents, and administrators use to generate sales agreements from quotes.
The Sales Agreement API runs in the sn_sales_agmt_core namespace and requires three plugins to access it:
- Sales Agreement Data Model (com.sn_sales_agmt_core) ,
- Product Catalog Management Core (com.sn_prd_pm),
- Pricing (com.sn_csm_pricing)
The API also requires the sn_sales_agmt_core.sales_agreement_integrator role to access it.
Most data is retrieved from or updated in the following tables upon calling this API and must be populated for its endpoints to work successfully:
- Account [customer_account],
- Product Offering [sn_prd_pm_product_offering],
- Product Model [cmdb_model],
- Quote [quote],
- Quote Line [quote_line],
- Price List [price_list]
- Account [customer_account]
- Price List [sn_csm_pricing_price_list]
- Product Model [cmdb_model]
- Product Offering [sn_prd_pm_product_offering]
- Quote [sn_quote_mgmt_core_quote]
- Quote Line [sn_quote_mgmt_core_quote_line_item]
- Sales Agreement [sn_sales_agmt_core_sales_agreement]
- Sales Agreement Line [sn_sales_agmt_core_sales_agreement_line]
- Sales Agreement Line Adjustments [sn_sales_agmt_core_sales_agreement_line_adjustment]
- Sales Agreement Line Characteristics [sn_sales_agmt_core_sales_agreement_line_characteristic]
Parent Topic:REST API reference
Sales Agreement - GET /api/sn_sales_agmt_core/salesagreement/{id}
Retrieve a sales agreement associated with a given sys_id.
URL format
Versioned URL: GET /api/sn_sales_agmt_core/v1/salesagreement/{id}
Default URL: GET /api/sn_sales_agmt_core/salesagreement/{id}
Supported request parameters
| Name | Description |
|---|---|
| api\_version | Optional. Version of the endpoint to access. For example, `v1` or `v2`. Only specify this value to use an endpoint version other than the latest. Data type: String |
| id | Required. Sys\_id of the sales agreement to retrieve.Table: Sales Agreement \[sn\_sales\_agmt\_core\_sales\_agreement\] Data type: String |
| Name | Description |
|---|---|
| display\_value | Optional. Returns the sales agreement properties in a chosen format.Valid values:
Default: false |
| Name | Description |
|---|---|
| None |
Headers
The following request and response headers apply to this HTTP action only, or apply to this action in a distinct way. For a list of general headers used in the REST API, see Supported REST API headers.
| Header | Description |
|---|---|
| Accept | Data format of the response body. Only supports application/json. |
| Content-Type | Data format of the request body. Only supports application/json. |
| Header | Description |
|---|---|
| None |
Status codes
The following status codes apply to this HTTP action. For a list of possible status codes used in the REST API, see REST API HTTP response codes.
| Status code | Description |
|---|---|
| 200 | Successful. The request was successfully processed. |
| 403 | Forbidden. The user doesn't have access rights to the specified record. |
| 404 | Not found. The requested item wasn't found. |
Response body parameters (JSON or XML)
| Name | Description |
|---|---|
| result | Results of the sales agreement with all its associated information.Data type: Object |
| account | Account information associated with the sales agreement.Table: Account \[customer\_account\] Data type: Object |
| account.display\_value | Display value of the account. Matches account.value.Data type: String |
| account.label | Label of the account.Data type: String |
| account.name | Name of the account.Data type: String |
| account.type | Type of account. Value is always `reference`.Data type: String |
| account.value | Sys\_id of the account.Table: Account \[customer\_account\] Data type: String |
| billing\_location | Billing address of the sales agreement.Updated table: Location \[cmn\_location\] Data type: Object |
| billing\_location.display\_value | Display value of the billing location. Matches billing_location.value.Data type: String |
| billing\_location.label | Label of the billing location.Data type: String |
| billing\_location.name | Name of the billing location.Data type: String |
| billing\_location.type | Type of billing location. Value is always `reference`.Data type: String |
| billing\_location.value | Value of the billing location.Data type: String |
| consumer | Consumer details of the sales agreement.Table: Consumer \[csm\_consumer\] Data type: Object |
| consumer.display\_value | Display value of the consumer. Matches consumer.value.Data type: String |
| consumer.label | Label of the consumer.Data type: String |
| consumer.name | Name of the consumer.Data type: String |
| consumer.type | Type of consumer. Value is always `reference`.Data type: String |
| consumer.value | Value of the consumer.Data type: String |
| contact | Contact information associated with the sales agreement.Table: Contact \[customer\_contact\] Data type: Object |
| contact.display\_value | Display value of the contact. Matches contact.value.Data type: String |
| contact.label | Label of the contact.Data type: String |
| contact.name | Name of the contact. Data type: String |
| contact.type | Type of contact. Value is always `reference`.Data type: String |
| contact.value | Value of the contact.Data type: String |
| currency | Currency code associated with the sales agreement.Table: Currency \[fx\_currency\] Data type: Object |
| currency.display\_value | Display value of the currency. Matches currency.value. For example, USD.Data type: String |
| currency.label | Label of the currency.Data type: String |
| currency.name | Name of the currency.Data type: String |
| currency.type | Type of currency. Value is always `reference`.Data type: String |
| currency.value | Country currency code of the currency. For example, `USD`.Data type: String |
| default\_price\_list | Details about the default price list of the sales agreement.Table: Price List \[sn\_csm\_pricing\_price\_list\] Data type: Object |
| default\_price\_list.display\_value | Display value of the default price list.Data type: String |
| default\_price\_list.label | Label of the default price list.Data type: String |
| default\_price\_list.name | Name of the default price list.Data type: String |
| default\_price\_list.type | Type of default price list. Value is always `reference`.Data type: String |
| default\_price\_list.value | Sys\_id of the default price list.Data type: String |
| ends | End date of the sales agreement.Data type: Object |
| ends.display\_value | Display value of the end date. Matches end.value.Data type: String |
| ends.label | Label of the end date.Data type: String |
| ends.label | Name of the end date.Data type: String |
| ends.type | Type of end date. Value is always `glide_date`.Data type: String |
| ends.value | Value of the end date.Format: YYYY-MM-DD Data type: String |
| number | Automatically generated sales agreement number or the number posted .Table: Sales Agreement \[sn\_sales\_agmt\_core\_sales\_agreement\] Data type: Object |
| number.display\_value | Display value of the sales agreement number. Matches number.value.Data type: String |
| number.label | Label of the sales agreement number.Data type: String |
| number.name | Name of the sales agreement number.Data type: String |
| number.type | Type of sales agreement number. Value is always `String`.Data type: String |
| number.value | Value of the sales agreement number. For example, `SA0010106`.Data type: String |
| quote | Information about the sales agreement quote.Table: Quote \[sn\_quote\_mgmt\_core\_quote\] Data type: Object |
| quote.display\_value | Display value of the quote.Data type: String |
| quote.label | Label of the quote.Data type: String |
| quote.name | Name of the quote.Data type: String |
| quote.type | Type of quote. Value is always `reference`.Data type: String |
| quote.value | Sys\_id of the quote.Data type: String |
| sales\_agreement\_lines | List of sales agreement lines under the sales agreement. Table: Sales Agreement Line \[sn\_sales\_agmt\_core\_sales\_agreement\_line\] Data type: Array of objects |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments | List of sales agreement line adjustments.Table: Sales Agreement Line Adjustments \[sn\_sales\_agmt\_core\_sales\_agreement\_line\_adjustment\] Data type: Array of objects |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.adjustment\_source | Source information of the sales agreement line adjustment.Table: Sales Agreement Line Adjustments \[sn\_sales\_agmt\_core\_sales\_agreement\_line\_adjustment\] Data type: Object |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.adjustment\_source.display\_value | Source display value of the sales agreement line adjustment. Matches sales agreement line adjustment.value.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.adjustment\_source.label | Source label of the sales agreement line adjustment.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.adjustment\_source.name | Source name of the sales agreement line adjustment.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.adjustment\_source.type | Source type of sales agreement line adjustment. Value is always `string`.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.adjustment\_source.value | Source value of the sales agreement line adjustment.Possible values: - auto - manual Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.adjustment\_type | Information about the sales agreement line adjustment type.Data type: Object |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.adjustment\_type.display\_value | Display value of the adjustment type.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.adjustment\_type.label | Label of the adjustment type.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.adjustment\_type.name | Name of the adjustment type.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.adjustment\_type.type | Type of adjustment type. Value is always `reference`.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.adjustment\_type.value | Sys\_id of the adjustment type.Table: Sales Agreement Line Adjustments \[sn\_sales\_agmt\_core\_sales\_agreement\_line\_adjustment\] Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.adjustment\_value | Information about the adjustment value.Table: Sales Agreement Line Adjustments \[sn\_sales\_agmt\_core\_sales\_agreement\_line\_adjustment\] Data type: Object |
| sales\_agreement\_lines.agreement\_line\_adjustments.adjustment\_value.display\_value | Display value of the adjustment value. Matches adjustment_value.value.Data type: Number (decimal) |
| sales\_agreement\_lines.agreement\_line\_adjustments.adjustment\_value.label | Label of the adjustment value.Data type: String |
| sales\_agreement\_lines.agreement\_line\_adjustments.adjustment\_value.name | Name of the adjustment value.Data type: String |
| sales\_agreement\_lines.agreement\_line\_adjustments.adjustment\_value.type | Type of adjustment. Value is always `decimal`.Data type: String |
| sales\_agreement\_lines.agreement\_line\_adjustments.adjustment\_value.value | Number value of the adjustment.Data type: Number \(decimal\) |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.amount | Information about the amount of the sales agreement line adjustment.Table: Sales Agreement Line Adjustments \[sn\_sales\_agmt\_core\_sales\_agreement\_line\_adjustment\] Data type: Object |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.amount.display\_value | Display value of the adjustment amount. Matches amount.value. Automatically includes the dollar sign of the associated currency (for example, $0.00 when currency is set to USD).Data type: Number (decimal) |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.amount.label | Label of the adjustment amount.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.amount.name | Name of the adjustment amount.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.amount.type | Type of the adjustment amount. Value is always `currency`.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.amount.value | Dollar value of the adjustment amount.Data type: Number |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.applicable\_to | Reference of the entity that the adjustment is applicable to.Table: Sales Agreement Line Adjustments \[sn\_sales\_agmt\_core\_sales\_agreement\_line\_adjustment\] Data type: Object |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.applicable\_to.display\_value | Display value of the entity that the adjustment is applicable to. Matches applicable_to.value.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.applicable\_to.label | Label of the entity that the adjustment is applicable to.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.applicable\_to.name | Name of the entity that the adjustment is applicable to.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.applicable\_to.type | Type of the entity that the adjustment is applicable to. Value is always `String`.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.applicable\_to.value | Quantity type that the line adjustment is applicable to.Possible values: - LUMPSUM\_QTY: lipsum quantity - UNIT\_QTY: unit quantity Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.number | Automatically generated sales agreement line adjustments number or the number posted.Table: Sales Agreement Line Adjustments \[sn\_sales\_agmt\_core\_sales\_agreement\_line\_adjustment\] Data type: Object |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.number.display\_value | Display value of the adjustments number. Matches number.value.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.number.label | Label of the adjustment number.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.number.name | Name of the adjustment number.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.number.type | Type of the adjustment number. Value is always `string`.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.number.value | Value of the adjustment number. For example, `SALA0010004`.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.quantity | Quantity of product adjusted on the sales agreement line.Table: Sales Agreement Line Adjustments \[sn\_sales\_agmt\_core\_sales\_agreement\_line\_adjustment\] Data type: Object |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.quantity.display\_value | Display value of the adjustment quantity. Matches quantity.value.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.quantity.label | Label of the adjustment quantity.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.quantity.name | Name of the adjustment quantity.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.quantity.type | Type of the adjustment quantity. Value is always `decimal`.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.quantity.value | Value of the adjustment quantity.Data type: Number |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.sales\_agreement | Reference to the sales agreement associated with the sales agreement line adjustment.Table: Sales Agreement Line Adjustments \[sn\_sales\_agmt\_core\_sales\_agreement\_line\_adjustment\] Data type: Object |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.sales\_agreement.display\_value | Display value of the sales agreement associated with the sales agreement line adjustment. For example, `SA0010106`.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.sales\_agreement.label | Label of the sales agreement associated with the sales agreement line adjustment.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.sales\_agreement.name | Name of the sales agreement associated with the sales agreement line adjustment.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.sales\_agreement.type | Type of the sales agreement associated with the sales agreement line adjustment. Value is always `reference`.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.sales\_agreement.value | Sys\_id of the sales agreement associated with the sales agreement line adjustment.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.sales\_agreement\_line | Reference to sales agreement line associated with the sales agreement line adjustment.Table: Sales Agreement Line Adjustments \[sn\_sales\_agmt\_core\_sales\_agreement\_line\_adjustment\] Data type: Object |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.sales\_agreement\_line.display\_value | Number of the sales agreement associated with the sales agreement line adjustment. For example, `SAL0010126`.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.sales\_agreement\_line.label | Label of the sales agreement associated with the sales agreement line adjustment.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.sales\_agreement\_line.name | Name of the sales agreement associated with the sales agreement line adjustment.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.sales\_agreement\_line.type | Type of the sales agreement associated with the sales agreement line adjustment. Value is always `String`.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.sales\_agreement\_line.value | Sys\_id of the sales agreement associated with the sales agreement line adjustment.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.short\_description | Brief description detailing the sales agreement line adjustment.Table: Sales Agreement Line Adjustments \[sn\_sales\_agmt\_core\_sales\_agreement\_line\_adjustment\] Data type: Object |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.short\_description.display\_value | Display value of the short description detailing the particular line adjustment. Matches short_description.value.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.short\_description.label | Label of the short description detailing the particular line adjustment.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.short\_description.name | Name of the short description detailing the particular line adjustment.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.short\_description.type | Type of the short description detailing the particular line adjustment. Value is always `string`.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.short\_description.value | Value of the short description detailing the particular line adjustment.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.sys\_created\_by | Name of the user who created the sales agreement line adjustment.Table: Sales Agreement Line Adjustments \[sn\_sales\_agmt\_core\_sales\_agreement\_line\_adjustment\] Data type: Object |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.sys\_created\_by.display\_value | Display value of the user who created the sales agreement line adjustment. Matches created_by.value.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.sys\_created\_by.label | Label of the user who created the sales agreement line adjustment.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.sys\_created\_by.name | Name of the user who created the sales agreement line adjustment.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.sys\_created\_by.type | Type of the user who created the sales agreement line adjustment. Value is always `string`.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.sys\_created\_by.value | Value of the user who created the sales agreement line adjustment.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.sys\_created\_on | Date and time of when the sales agreement line adjustment was created.Data type: Object |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.sys\_created\_on.display\_value | Display value of the date and time that the line adjustment was created. Matches created_on.value.Format: YYYY-MM-DD HH:mm:ss Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.sys\_created\_on.label | Label of the date and time that the line adjustment was created.Format: YYYY-MM-DD HH:mm:ss Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.sys\_created\_on.name | Name of the date and time that the line adjustment was created.Format: YYYY-MM-DD HH:mm:ss Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.sys\_created\_on.type | Type of the date and time that the line adjustment was created. Value is always `glide_date_time`.Format: YYYY-MM-DD HH:mm:ss Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.sys\_created\_on.value | Value of the date and time that the line adjustment was created.Format: YYYY-MM-DD HH:mm:ss Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.sys\_id | Sys\_id of the sales agreement line adjustment.Table: Sales Agreement Line Adjustments \[sn\_sales\_agmt\_core\_sales\_agreement\_line\_adjustment\] Data type: Object |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.sys\_id.display\_value | Display value of the line adjustment sys_id. Matches sys_id.value.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.sys\_id.label | Label of the line adjustment sys\_id.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.sys\_id.name | Name of the line adjustment sys\_id.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.sys\_id.type | Type of the line adjustment sys\_id. Value is always `string`.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.sys\_id.value | Value of the line adjustment sys\_id.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.sys\_updated\_by | Name of the user who last updated the sales agreement line adjustment.Table: Sales Agreement Line Adjustments \[sn\_sales\_agmt\_core\_sales\_agreement\_line\_adjustment\] Data type: Object |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.sys\_updated\_by.display\_value | Display value of the user who last updated the sales agreement line adjustment. Matches updated_by.value.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.sys\_updated\_by.label | Label of the user who last updated the sales agreement line adjustment.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.sys\_updated\_by.name | Name of the user who last updated the sales agreement line adjustment.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.sys\_updated\_by.type | Type of user who last updated the sales agreement line adjustment. Value is always `String`.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.sys\_updated\_by.value | Value of the user who last updated the sales agreement line adjustment.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.sys\_updated\_on | Date and time when the sales agreement line adjustment was updated.Data type: Object |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.sys\_updated\_on.display\_value | Display value of the date and time that the line adjustment was last updated. Matches updated_on.value.Format: YYYY-MM-DD HH:mm:ss Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.sys\_updated\_on.label | Label of the date and time that the line adjustment was last updated.Format: YYYY-MM-DD HH:mm:ss Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.sys\_updated\_on.name | Name of the date and time that the line adjustment was last updated.Format: YYYY-MM-DD HH:mm:ss Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.sys\_updated\_on.type | Type of date and time that the line adjustment was last updated. Value is always `glide_date_time`.Format: YYYY-MM-DD HH:mm:ss Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.sys\_updated\_on.value | Value of the date and time that the line adjustment was last updated.Format: YYYY-MM-DD HH:mm:ss Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.total\_amount | Total amount of the sales agreement line adjustment.Table: Sales Agreement Line Adjustments \[sn\_sales\_agmt\_core\_sales\_agreement\_line\_adjustment\] Data type: Object |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.total\_amount.display\_value | Display value of the total adjustment amount. Matches total_amount.value.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.total\_amount.label | Label of the total adjustment amount.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.total\_amount.name | Name of the total adjustment amount.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.total\_amount.type | Type of the total adjustment amount. Value is always `currency`.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.total\_amount.value | Value of the total adjustment amount.Data type: String represented by a number \(float\) |
| sales\_agreement\_lines.child\_sales\_agreement\_lines | List of sales agreement lines. Follows the same object structure as the sales_agreement_lines object parameter.Table: Sales Agreement Line [sn_sales_agmt_core_sales_agreement_line] Data type: Array of objects |
| sales\_agreement\_lines.end\_date | End date of the sales agreement line.Data type: Object |
| sales\_agreement\_lines.end\_date.display\_value | Display value of the end date for the sales agreement line. Matches end.value.Data type: String |
| sales\_agreement\_lines.end\_date.label | Label of the end date for the sales agreement line.Data type: String |
| sales\_agreement\_lines.end\_date.name | Name of the end date for the sales agreement line.Data type: String |
| sales\_agreement\_lines.end\_date.type | Type of end date for the sales agreement line. Value is always `glide_date_time`.Data type: String |
| sales\_agreement\_lines.end\_date.value | End date and time value of the sales agreement line.Format: YYYY-MM-DD HH:mm:ss Data type: String |
| sales\_agreement\_lines.number | Automatically generated sales agreement line number or the number posted .Table: Sales Agreement Line \[sn\_sales\_agmt\_core\_sales\_agreement\_line\] Data type: Object |
| sales\_agreement\_lines.number.display\_value | Display value of the sales agreement line number. For example, SAL0010128. Matches number.value.Data type: String |
| sales\_agreement\_lines.number.label | Label of the number.Data type: String |
| sales\_agreement\_lines.number.name | Name of the number.Data type: String |
| sales\_agreement\_lines.number.type | Type of number. Value is always `string`.Data type: String |
| sales\_agreement\_lines.number.value | Value of the sales agreement line number. For example, `SAL0010128`.Data type: String |
| sales\_agreement\_lines.parent\_line | Information about the parent sales agreement line.Table: Sales Agreement Line \[sn\_sales\_agmt\_core\_sales\_agreement\_line\] Data type: Object |
| sales\_agreement\_lines.parent\_line.display\_value | Display number of the parent sales agreement line. For example, `SAL0010126`.Data type: String |
| sales\_agreement\_lines.parent\_line.label | Label of the parent sales agreement line.Data type: String |
| sales\_agreement\_lines.parent\_line.name | Name of the parent sales agreement line.Data type: String |
| sales\_agreement\_lines.parent\_line.type | Type of parent sales agreement line. Value is always `reference`.Data type: String |
| sales\_agreement\_lines.parent\_line.value | Sys\_id of the parent sales agreement line.Data type: String |
| sales\_agreement\_lines.price\_list | Price list details of the sales agreement line.Table: Sales Agreement Line \[sn\_sales\_agmt\_core\_sales\_agreement\_line\] Data type: Object |
| sales\_agreement\_lines.price\_list.display\_value | Display value of the sales agreement line's price list.Data type: String |
| sales\_agreement\_lines.price\_list.label | Label of the sales agreement line's price list.Data type: String |
| sales\_agreement\_lines.price\_list.name | Name of the sales agreement line's price list.Data type: String |
| sales\_agreement\_lines.price\_list.type | Type of sales agreement line's price list. Value is always `reference`.Data type: String |
| sales\_agreement\_lines.price\_list.value | Sys\_id of the price list associated with the sales agreement line.Data type: String |
| sales\_agreement\_lines.product\_model | Details about the product model on the sales agreement line.Table: Product Model \[cmdb\_model\] Data type: Object |
| sales\_agreement\_lines.product\_model.display\_value | Display value of the product model on the sales agreement line. Matches product_model.value.Data type: String |
| sales\_agreement\_lines.product\_model.label | Label of the product model on the sales agreement line.Data type: String |
| sales\_agreement\_lines.product\_model.name | Name of the product model on the sales agreement line.Data type: String |
| sales\_agreement\_lines.product\_model.type | Type of product model on the sales agreement line. Value is always `reference`.Data type: String |
| sales\_agreement\_lines.product\_model.value | Value of the product model on the sales agreement line.Data type: String |
| sales\_agreement\_lines.product\_offering | Details about the product offering on the sales agreement line.Table: Product Offering \[sn\_prd\_pm\_product\_offering\] Data type: Object |
| sales\_agreement\_lines.product\_offering.display\_value | Display value of the product offering on the sales agreement line.Data type: String |
| sales\_agreement\_lines.product\_offering.label | Label of the product offering on the sales agreement line.Data type: String |
| sales\_agreement\_lines.product\_offering.name | Name of the product offering on the sales agreement line.Data type: String |
| sales\_agreement\_lines.product\_offering.type | Type of product offering on the sales agreement line. Value is always `reference`.Data type: String |
| sales\_agreement\_lines.product\_offering.value | Value of the product offering on the sales agreement line.Data type: String |
| sales\_agreement\_lines.product\_specification | Reference to product specification of the sales agreement line.Table: Sales Agreement Line \[sn\_sales\_agmt\_core\_sales\_agreement\_line\] Data type: Object |
| sales\_agreement\_lines.product\_specification.display\_value | Display value of the product offering on the sales agreement line. Matches product_specification.value.Data type: String |
| sales\_agreement\_lines.product\_specification.label | Label of the product specification on the sales agreement line.Data type: String |
| sales\_agreement\_lines.product\_specification.name | Name of the product specification on the sales agreement line.Data type: String |
| sales\_agreement\_lines.product\_specification.type | Type of product specification on the sales agreement line. Value is always `reference`.Data type: String |
| sales\_agreement\_lines.product\_specification.value | Value of the product specification on the sales agreement line.Data type: String |
| sales\_agreement\_lines.quantity | Number of products to add to the sales agreement line.Table: Sales Agreement Line \[sn\_sales\_agmt\_core\_sales\_agreement\_line\] Data type: Object |
| sales\_agreement\_lines.quantity.display\_value | Display value of the product quantity on the sales agreement line. Matches quantity.value.Data type: String |
| sales\_agreement\_lines.quantity.label | Label of the product quantity on the sales agreement line.Data type: String |
| sales\_agreement\_lines.quantity.name | Name of the product quantity on the sales agreement line.Data type: String |
| sales\_agreement\_lines.quantity.type | Type of product quantity on the sales agreement line. Value is always `decimal`.Data type: String |
| sales\_agreement\_lines.quantity.value | Number of products on the sales agreement line. Data type: Number |
| sales\_agreement\_lines.quote\_line | Reference of the quote line item on the sales agreement line.Table: Quote Line \[sn\_quote\_mgmt\_core\_quote\_line\_item\] Data type: Object |
| sales\_agreement\_lines.quote\_line.display\_value | Display value of the quote line item on the sales agreement line.Data type: String |
| sales\_agreement\_lines.quote\_line.label | Label of the quote line item on the sales agreement line.Data type: String |
| sales\_agreement\_lines.quote\_line.name | Name of the quote line item on the sales agreement line.Data type: String |
| sales\_agreement\_lines.quote\_line.type | Type of quote line item on the sales agreement line. Value is always `reference`.Data type: String |
| sales\_agreement\_lines.quote\_line.value | Value of the quote line item on the sales agreement line.Data type: String |
| sales\_agreement\_lines.sales\_agreement | Reference to the sales agreement of the sales agreement line.Table: Sales Agreement Line \[sn\_sales\_agmt\_core\_sales\_agreement\_line\] Data type: Object |
| sales\_agreement\_lines.sales\_agreement.display\_value | Display value of the sales agreement of the sales agreement line. For example, `SA0010106`.Data type: String |
| sales\_agreement\_lines.sales\_agreement.label | Label of the sales agreement of the sales agreement line.Data type: String |
| sales\_agreement\_lines.sales\_agreement.name | Name of the sales agreement of the sales agreement line.Data type: String |
| sales\_agreement\_lines.sales\_agreement.type | Type of sales agreement of the sales agreement line. Value is always `reference`.Data type: String |
| sales\_agreement\_lines.sales\_agreement.value | Sys\_id of the sales agreement of the sales agreement line.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics | List of sales agreement line characteristics.Table: Sales Agreement Line Characteristics \[sn\_sales\_agmt\_core\_sales\_agreement\_line\_characteristic\] Data type: Array of objects |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.characteristic | Characteristic associated with the sales agreement line.Table: sn\_prd\_pm\_characteristic Data type: Object |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.characteristic.display\_value | Display value of the characteristic on the sales agreement line.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.characteristic.label | Label of the characteristic on the sales agreement line.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.characteristic.name | Name of the characteristic on the sales agreement line.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.characteristic.type | Type of characteristic on the sales agreement line. Value is always `reference`.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.characteristic.value | Value of the characteristic on the sales agreement line.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.characteristic\_option | Information about the characteristic option on the sales agreement line.Table: Sales Agreement Line Characteristics \[sn\_sales\_agmt\_core\_sales\_agreement\_line\_characteristic\] Data type: Object |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.characteristic\_option.display\_value | Display value of the characteristic on the sales agreement line. Matches characteristic_option.value. Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.characteristic\_option.label | Label of the characteristic option on the sales agreement line.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.characteristic\_option.name | Name of the characteristic option on the sales agreement line.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.characteristic\_option.type | Type of characteristic option on the sales agreement line. Value is always `reference`.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.characteristic\_option.value | Value of the characteristic option on the sales agreement line.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.sales\_agreement | Details of the sales agreement characteristic on the sales agreement line.Table: Sales Agreement Line Characteristics \[sn\_sales\_agmt\_core\_sales\_agreement\_line\_characteristic\] Data type: Object |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.sales\_agreement.display\_value | Display value of the sales agreement characteristic. Matches sales_agreement.value. Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.sales\_agreement.label | Label of the sales agreement characteristic.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.sales\_agreement.name | Name of the sales agreement characteristic.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.sales\_agreement.type | Type of sales agreement characteristic. Value is always `reference`.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.sales\_agreement.value | Value of the sales agreement characteristic.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.sales\_agreement\_line | Details about the characteristic of the sales agreement line.Table: Sales Agreement Line Characteristics \[sn\_sales\_agmt\_core\_sales\_agreement\_line\_characteristic\] Data type: Object |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.sales\_agreement\_line.display\_value | Display value of the characteristic of the sales agreement line. Matches sales_agreement_line.value. Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.sales\_agreement\_line.label | Characteristic label of the sales agreement line.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.sales\_agreement\_line.name | Characteristic name of the sales agreement line.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.sales\_agreement\_line.type | Characteristic type of the sales agreement line. Value is always `reference`.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.sales\_agreement\_line.value | Characteristic value of the sales agreement line.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.sys\_created\_by | Name of the user who created the sales agreement line characteristic.Table: User \[user\] Data type: Object |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.sys\_created\_by.display\_value | Display value of the Created by field. Matches sys_created_by.value.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.sys\_created\_by.label | Label of the Created by field.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.sys\_created\_by.name | Name of the Created by field.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.sys\_created\_by.type | Type of the Created by field. Value is always `string`.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.sys\_created\_by.value | Value of the Created by field.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.sys\_created\_on | Date and time the sales agreement line characteristic was created.Data type: Object |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.sys\_created\_on.display\_value | Display value of the Created on field. Matches sys_created_on.value.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.sys\_created\_on.label | Label of the Created on field.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.sys\_created\_on.name | Name of the Created on field.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.sys\_created\_on.type | Type of the Created on field. Value is always `glide_date_time`.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.sys\_created\_on.value | Value of the Created on field.Format: YYYY-DD-MM HH:mm:ss Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.sys\_id | Sys\_id of the sales agreement line characteristic.Table: Sales Agreement Line Characteristics \[sn\_sales\_agmt\_core\_sales\_agreement\_line\_characteristic\] Data type: Object |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.sys\_id.display\_value | Display value of the characteristic sys_id. Matches sys_id.value.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.sys\_id.label | Label of the characteristic sys\_id.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.sys\_id.name | Name of the characteristic sys\_id.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.sys\_id.type | Type of the characteristic sys\_id. Value is always `string`.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.sys\_id.id | Value of the characteristic sys\_id.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.sys\_updated\_by | Name of the user who last updated the sales agreement line characteristic.Table: User \[user\] Data type: Object |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.sys\_updated\_by.display\_value | Display value of the user who updated the characteristic of the sales agreement line item. Matches sys_created_by.value.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.sys\_updated\_by.label | Label of the user who updated the characteristic.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.sys\_updated\_by.name | Name of the user who updated the characteristic.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.sys\_updated\_by.type | Type of the user who updated the characteristic. Value is always `string`.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.sys\_updated\_by.value | Value of user who updated the characteristic.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.sys\_updated\_on | Date and time the sales agreement line characteristic was last updated.Data type: Object |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.sys\_updated\_on.display\_value | Display value of the updated date. Matches updated_on.value.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.sys\_updated\_on.label | Label of the updated date.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.sys\_updated\_on.name | Name of the updated date.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.sys\_updated\_on.type | Type of the updated date. Value is always `glide_date_time`.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.sys\_updated\_on.value | Value of the updated date.Format: YYYY-DD-MM HH:mm:ss Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.type | Type of characteristic in the sales agreement line characteristic.Table: Sales Agreement Line Characteristics \[sn\_sales\_agmt\_core\_sales\_agreement\_line\_characteristic\] Data type: Object |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.type.display\_value | Display value of the characteristic type. Matches type.value.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.type.label | Label of the characteristic type.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.type.name | Name of the characteristic type.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.type.type | Type of the characteristic type. Value is always `string`.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.type.value | Value of the characteristic type.Possible values: - coverage - coverage and usage Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.value | Value of the characteristic on the sales agreement line.Table: Sales Agreement Line Characteristics \[sn\_sales\_agmt\_core\_sales\_agreement\_line\_characteristic\] Data type: Object |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.value.display\_value | Display value of the characteristic. Matches type.value.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.value.label | Label of the characteristic value.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.value.name | Name of the characteristic value.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.value.type | Type of the characteristic value. Value is always `string`.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.value.value | Value of the characteristic.Data type: String |
| sales\_agreement\_lines.short\_description | Brief details describing the sales agreement line.Table: Sales Agreement Line \[sn\_sales\_agmt\_core\_sales\_agreement\_line\] Data type: Object |
| sales\_agreement\_lines.short\_description.display\_value | Display value of the short description. Matches short_description.value.Data type: String |
| sales\_agreement\_lines.short\_description.label | Label of the short description.Data type: String |
| sales\_agreement\_lines.short\_description.name | Name of the short description.Data type: String |
| sales\_agreement\_lines.short\_description.type | Type of short description. Always of type `string`.Data type: String |
| sales\_agreement\_lines.short\_description.value | Value of the short description.Data type: String |
| sales\_agreement\_lines.start\_date | Start date of the sales agreement line.Data type: Object |
| sales\_agreement\_lines.start\_date.display\_value | Display value of the sales agreement line's start date. Matches start_date.value.Data type: String |
| sales\_agreement\_lines.start\_date.label | Label of the sales agreement line's start date.Data type: String |
| sales\_agreement\_lines.start\_date.name | Name of the sales agreement line's start date.Data type: String |
| sales\_agreement\_lines.start\_date.type | Type of sales agreement line's start date. Value is always `glide_date_time`.Data type: String |
| sales\_agreement\_lines.start\_date.value | Value of the sales agreement line's start date.Format: YYYY-MM-DD Data type: String |
| sales\_agreement\_lines.state | Valid state of the sales agreement line.Table: Sales Agreement Line \[sn\_sales\_agmt\_core\_sales\_agreement\_line\] Data type: Object |
| sales\_agreement\_lines.state.display\_value | Display value of the state. Matches state.value.Data type: String |
| sales\_agreement\_lines.state.label | Label of the state.Data type: String |
| sales\_agreement\_lines.state.name | Name of the state.Data type: String |
| sales\_agreement\_lines.state.type | Type of state. Value is always `string`.Data type: String |
| sales\_agreement\_lines.state.value | Value of the state.Possible values: - pending\_activation - suspended - active - expired - cancelled Data type: String |
| sales\_agreement\_lines.sys\_created\_by | Name of the user who created the sales agreement line.Table: User \[user\] Data type: Object |
| sales\_agreement\_lines.sys\_created\_by.display\_value | Display value of the user who created the sales agreement line. Matches sys_created_by.value.Data type: String |
| sales\_agreement\_lines.sys\_created\_by.label | Label of the user who created the sales agreement line.Data type: String |
| sales\_agreement\_lines.sys\_created\_by.name | Name of the user who created the sales agreement line.Data type: String |
| sales\_agreement\_lines.sys\_created\_by.type | Type of the Created by field. Value is always `string`.Data type: String |
| sales\_agreement\_lines.sys\_created\_by.value | Value of the user who created the sales agreement line.Data type: String |
| sales\_agreement\_lines.sys\_created\_on | Date and time the sales agreement line record was created.Data type: Object |
| sales\_agreement\_lines.sys\_created\_on.display\_value | Display value of the creation date of the sales agreement line record. Matches sys_created_on.value.Data type: String |
| sales\_agreement\_lines.sys\_created\_on.label | Label of the creation date of the sales agreement line record.Data type: String |
| sales\_agreement\_lines.sys\_created\_on.name | Name of the creation date of the sales agreement line record.Data type: String |
| sales\_agreement\_lines.sys\_created\_on.type | Type of the creation date of the sales agreement line record. Value is always `glide_date_time`.Data type: String |
| sales\_agreement\_lines.sys\_created\_on.value | Value of the creation date of the sales agreement line record.Format: YYYY-MM-DD HH:mm:ss Data type: String |
| sales\_agreement\_lines.sys\_id | Sys\_id of the sales agreement line record .Table: Sales Agreement Line \[sn\_sales\_agmt\_core\_sales\_agreement\_line\] Data type: Object |
| sales\_agreement\_lines.sys\_id.displayValue | Display value of the sys_id of the sales agreement line record . Matches sys_id.value.Data type: String |
| sales\_agreement\_lines.sys\_id.label | Automatically-generated name or label of the sales agreement line record sys\_id.Data type: String |
| sales\_agreement\_lines.sys\_id.type | Type of sys\_id of the sales agreement line record . Value is always `string`.Data type: String |
| sales\_agreement\_lines.sys\_id.value | Sys\_id number assigned to the sales agreement line record .Data type: String |
| sales\_agreement\_lines.sys\_updated\_by | Name of the user who last updated the sales agreement line.Table: User \[user\] Data type: Object |
| sales\_agreement\_lines.sys\_updated\_by.display\_value | Display value of the user who updated the sales agreement line. Matches sys_updated_by.value.Data type: String |
| sales\_agreement\_lines.sys\_updated\_by.label | Label of the user who updated the sales agreement line.Data type: String |
| sales\_agreement\_lines.sys\_updated\_by.name | Name of the user who updated the sales agreement line.Data type: String |
| sales\_agreement\_lines.sys\_updated\_by.type | Type of the user who updated the sales agreement line. Value is always `string`.Data type: String |
| sales\_agreement\_lines.sys\_updated\_by.value | Value of the user who updated the sales agreement line.Data type: String |
| sales\_agreement\_lines.sys\_updated\_on | Date and time the sales agreement line record was last updated.Data type: Object |
| sales\_agreement\_lines.sys\_updated\_on.display\_value | The display value of the updated date and time on the sales agreement line. Matches sys_updated_on.value.Data type: String |
| sales\_agreement\_lines.sys\_updated\_on.label | Label of the updated date and time on the sales agreement lineData type: String |
| sales\_agreement\_lines.sys\_updated\_on.name | Name of the updated date and time on the sales agreement lineData type: String |
| sales\_agreement\_lines.sys\_updated\_on.type | Type of the updated date and time on the sales agreement line. Value is always `glide_date_time`.Data type: String |
| sales\_agreement\_lines.sys\_updated\_on.value | Value of the updated date and time on the sales agreement lineFormat: YYYY-MM-DD HH:mm:ss Data type: String |
| sales\_agreement\_lines.top\_sales\_agreement\_line | Information about the top sales agreement line.Table: Sales Agreement Line \[sn\_sales\_agmt\_core\_sales\_agreement\_line\] Data type: Object |
| sales\_agreement\_lines.top\_sales\_agreement\_line.display\_value | Display value of the top sales agreement line. Matches top_sales_agreement_line.value.Data type: String |
| sales\_agreement\_lines.top\_sales\_agreement\_line.label | Label of the top sales agreement line.Data type: String |
| sales\_agreement\_lines.top\_sales\_agreement\_line.name | Name the top sales agreement line.Data type: String |
| sales\_agreement\_lines.top\_sales\_agreement\_line.type | Type of the top sales agreement line. Value is always `reference`.Data type: String |
| sales\_agreement\_lines.top\_sales\_agreement\_line.value | Value of the top sales agreement line.Data type: String |
| sales\_agreement\_lines.total\_one\_time\_price | Total one-time charges to be paid for the product or service.Table: Sales Agreement Line \[sn\_sales\_agmt\_core\_sales\_agreement\_line\] Data type: Object |
| sales\_agreement\_lines.total\_one\_time\_price.display\_value | Display value of the total one time price. Matches total_one_time_price.value.Data type: String |
| sales\_agreement\_lines.total\_one\_time\_price.label | Label of the total one time price.Data type: String |
| sales\_agreement\_lines.total\_one\_time\_price.name | Name of the total one time price.Data type: String |
| sales\_agreement\_lines.total\_one\_time\_price.type | Type of the total one time price. Value is always `decimal`.Data type: String |
| sales\_agreement\_lines.total\_one\_time\_price.value | Value of the total one time price.Data type: String represented as a number \(currency\) |
| sales\_agreement\_lines.total\_recurring\_price | Total recurring price for the product associated with the sales agreement line.Table: Sales Agreement Line \[sn\_sales\_agmt\_core\_sales\_agreement\_line\] Data type: Object |
| sales\_agreement\_lines.total\_recurring\_price.display\_value | Display value of the total one time price. Matches total_recurring_price.value.Data type: String |
| sales\_agreement\_lines.total\_recurring\_price.label | Label of the total recurring price.Data type: String |
| sales\_agreement\_lines.total\_recurring\_price.name | Name of the total recurring price.Data type: String |
| sales\_agreement\_lines.total\_recurring\_price.type | Type of the total recurring price. Value is always `decimal`.Data type: String |
| sales\_agreement\_lines.total\_recurring\_price.value | Value of the total recurring price.Data type: String represented as a number \(currency\) |
| sales\_agreement\_lines.unit\_net\_price | The price for each unit within the sales agreement line.Table: Sales Agreement Line \[sn\_sales\_agmt\_core\_sales\_agreement\_line\] Data type: Object |
| sales\_agreement\_lines.unit\_net\_price | Display value of the unit net price. Matches unit_net_price.value.Data type: String |
| sales\_agreement\_lines.unit\_net\_price | Label of the unit net price.Data type: String |
| sales\_agreement\_lines.unit\_net\_price | Name of the unit net price.Data type: String |
| sales\_agreement\_lines.unit\_net\_price | Type of the unit net price. Value is always `decimal`.Data type: String |
| sales\_agreement\_lines.unit\_net\_price | Value of the unit net price.Data type: String represented as a number \(currency\) |
| sales\_agreement\_lines.unit\_of\_measurement | Unit of measurement of the sales agreement line.Table: Unit of measures \[sn\_prd\_pm\_uom\_list\] Data type: Object |
| sales\_agreement\_lines.unit\_of\_measurement.display\_value | Display value of the unit of measurement. Matches unit_of_measurement.value.Data type: String |
| sales\_agreement\_lines.unit\_of\_measurement.label | Label of the unit of measurement.Data type: String |
| sales\_agreement\_lines.unit\_of\_measurement.name | Name of the unit of measurement.Data type: String |
| sales\_agreement\_lines.unit\_of\_measurement.type | Type of the unit of measurement. Value is always `reference`.Data type: String |
| sales\_agreement\_lines.unit\_of\_measurement.value | Value of the unit of measurement. For example, `bundle` or `each`.Data type: String |
| shipping\_location | Shipping address details on the sales agreement.Table: Location \[location\] Data type: Object |
| shipping\_location.display\_value | Display value of the shipping location.Data type: String |
| shipping\_location.label | Label of the shipping location.Data type: String |
| shipping\_location.name | Name of the shipping location.Data type: String |
| shipping\_location.type | Type of shipping location. Value is always `reference`.Data type: String |
| shipping\_location.value | Value of the shipping location. For example, an address.Data type: String |
| short\_description | Brief details describing the sales agreement.Table: Sales Agreement \[sn\_sales\_agmt\_core\_sales\_agreement\] Data type: Object |
| short\_description.display\_value | Display value of the short description. Matches short_description.value.Data type: String |
| short\_description.label | Label of the short description.Data type: String |
| short\_description.name | Name of the short description.Data type: String |
| short\_description.type | Type of short description. Always of type `string`.Data type: String |
| short\_description.value | Value of the short description.Data type: String |
| starts | Start date of the sales agreement.Data type: Object |
| starts.display\_value | Display value of the start date. Matches start.value.Data type: String |
| starts.label | Label of the start date.Data type: String |
| starts.name | Name of the start date.Data type: String |
| starts.type | Type of start date. Value is always `glide_date_time`Data type: String |
| starts.value | Value of the start date.Format: YYYY-MM-DD HH:mm:ss Data type: String |
| state | State of the sales agreement.Table: Sales Agreement \[sn\_sales\_agmt\_core\_sales\_agreement\] Data type: Object |
| state.display\_value | Display value of the state. Matches state.value.Data type: String |
| state.lable | Label of the state.Data type: String |
| state.name | Name of the state.Data type: String |
| state.type | Type of state. Value is always `string`.Data type: String |
| state.value | Value of the state.Possible values: - active - cancelled - draft - expired Data type: String |
| sys\_created\_by | Name of the user who created the sales agreement.Table: User \[user\] Data type: Object |
| sys\_created\_by.display\_value | Display value of the user who created the sales agreement. Matches sys_created_by.value.Data type: String |
| sys\_created\_by.label | Label of the user who created the sales agreement.Data type: String |
| sys\_created\_by.name | Name of the user who created the sales agreement.Data type: String |
| sys\_created\_by.type | Type of the user who created the sales agreement. Value is always `string`.Data type: String |
| sys\_created\_by.value | Value of the user who created the sales agreement.Data type: String |
| sys\_created\_on | Details about the date and time that the sales agreement was created.Data type: Object |
| sys\_created\_on.display\_value | Display value of the creation date and time. Matches sys_created_on.value.Data type: String |
| sys\_created\_on.label | Label of the creation date and time.Data type: String |
| sys\_created\_on.name | Name of the creation date and time.Data type: String |
| sys\_created\_on.type | Type of the creation date and time. Value is always `string`.Data type: String |
| sys\_created\_on.value | Value of the creation date and time.Data type: String |
| sys\_id | Sys\_id of the newly created sales agreement.Table: Sales Agreement \[sn\_sales\_agmt\_core\_sales\_agreement\] Data type: Object |
| sys\_id.displayValue | Display value of the unique sys_id value. Matches sys_id.value.Data type: String |
| sys\_id.label | Automatically generated name or label of the sys\_id.Data type: String |
| sys\_id.type | Type of sys\_id given to the sales agreement. Value is always `GUID`.Data type: String |
| sys\_id.value | Sys\_id number assigned to the new sales agreement.Data type: String |
| sys\_updated\_by | Name of the user who last updated the sales agreement.Table: User \[user\] Data type: Object |
| sys\_updated\_by.display\_value | Display value of the user who updated the sales agreement. Matches sys_updated_by.value.Data type: String |
| sys\_updated\_by.label | Label of the user who updated the sales agreement.Data type: String |
| sys\_updated\_by.name | Name of the user who updated the sales agreement.Data type: String |
| sys\_updated\_by.type | Type of the user who updated the sales agreement. Value is always `string`.Data type: String |
| sys\_updated\_by.value | Value of the user who updated the sales agreement.Data type: String |
| sys\_updated\_on | Details about the date and time that the sales agreement was updated.Data type: Object |
| sys\_updated\_on.display\_value | Date and time value of the updated sales agreement. Matches sys_updated_on.value.Format: YYYY-MM-DD HH:mm:ss Data type: String |
| sys\_updated\_on.label | Label of the updated sales agreement.Data type: String |
| sys\_updated\_on.name | Name of the updated sales agreement.Data type: String |
| sys\_updated\_on.type | Type of the updated sales agreement. Value is always `glide_date_time`.Data type: String |
| sys\_updated\_on.value | Date and time value of the updated sales agreement.Format: YYYY-MM-DD HH:mm:ss Data type: String |
cURL request
The following example returns the sales agreement information associated with the given sys_id and the optional display_value parameter set to true so that display values are provided in the response body.
curl "https://instance.service-now.com/api/sn_sales_agmt_core/v1/salesagreement/eb853fe5b5165610f87786d3c2884335?display_value=true" \
--request POST \
--header "Accept:application/json" \
--header "Content-Type:application/json" \
Response body. The response shows the display_values for every parameter of the given sales agreement.
{
"result": {
"sys_id": {
"display_value": "eb853fe5b5165610f87786d3c2884335"
},
"sys_created_by": {
"display_value": "maint"
},
"sys_updated_by": {
"display_value": "maint"
},
"sys_created_on": {
"display_value": "2024-12-05 22:43:51"
},
"sys_updated_on": {
"display_value": "2024-12-05 22:43:51"
},
"account": {
"display_value": "Boxeo"
},
"consumer": {
"display_value": ""
},
"number": {
"display_value": "SA0010004"
},
"state": {
"display_value": "Active"
},
"starts": {
"display_value": "2024-01-01"
},
"ends": {
"display_value": "2024-12-31"
},
"short_description": {
"display_value": "This is a Sa created by API"
},
"currency": {
"display_value": "USD"
},
"default_price_list": {
"display_value": "SA Price List"
},
"billing_location": {
"display_value": "100 South Charles Street, Baltimore,MD"
},
"contact": {
"display_value": "Alex Linde"
},
"shipping_location": {
"display_value": "100 South Charles Street, Baltimore,MD"
},
"quote": {
"display_value": "QT0000001"
},
"sales_agreement_lines": [
{
"sys_id": {
"display_value": "af853fe5b5165610f87786d3c2884339"
},
"sys_created_by": {
"display_value": "maint"
},
"sys_updated_by": {
"display_value": "maint"
},
"sys_created_on": {
"display_value": "2024-12-05 22:43:51"
},
"sys_updated_on": {
"display_value": "2024-12-05 22:43:51"
},
"number": {
"display_value": "SAL0010003"
},
"sales_agreement": {
"display_value": "SA0010004"
},
"short_description": {
"display_value": "this is sample sa line 1"
},
"start_date": {
"display_value": "2024-11-10"
},
"end_date": {
"display_value": "2024-12-31"
},
"state": {
"display_value": "Active"
},
"product_offering": {
"display_value": "Home Automation Bundle"
},
"product_specification": {
"display_value": ""
},
"product_model": {
"display_value": ""
},
"price_list": {
"display_value": "SA Price List"
},
"parent_line": {
"display_value": ""
},
"unit_net_price": {
"display_value": "£314.2315"
},
"quantity": {
"display_value": "2"
},
"unit_of_measurement": {
"display_value": "Each"
},
"shipping_location": {
"display_value": "100 South Charles Street, Baltimore,MD"
},
"total_one_time_price": {
"display_value": "£314.2315"
},
"total_recurring_price": {
"display_value": "£0.00"
},
"top_sales_agreement_line": {
"display_value": "SAL0010003"
},
"quote_line": {
"display_value": ""
},
"child_sales_agreement_lines": [
{
"sys_id": {
"display_value": "eb85f329b5165610f87786d3c2884318"
},
"sys_created_by": {
"display_value": "maint"
},
"sys_updated_by": {
"display_value": "maint"
},
"sys_created_on": {
"display_value": "2024-12-05 22:43:51"
},
"sys_updated_on": {
"display_value": "2024-12-05 22:43:51"
},
"number": {
"display_value": "SAL0010004"
},
"sales_agreement": {
"display_value": "SA0010004"
},
"short_description": {
"display_value": "this is sample child sa line 1"
},
"start_date": {
"display_value": "2024-11-11"
},
"end_date": {
"display_value": "2024-12-31"
},
"state": {
"display_value": "Active"
},
"product_offering": {
"display_value": "Home Automation Hub"
},
"product_specification": {
"display_value": ""
},
"product_model": {
"display_value": ""
},
"price_list": {
"display_value": "SA Price List"
},
"parent_line": {
"display_value": "SAL0010003"
},
"unit_net_price": {
"display_value": "£94.2694"
},
"quantity": {
"display_value": "2"
},
"unit_of_measurement": {
"display_value": "Each"
},
"shipping_location": {
"display_value": "100 South Charles Street, Baltimore,MD"
},
"total_one_time_price": {
"display_value": "£94.2694"
},
"total_recurring_price": {
"display_value": "£0.00"
},
"top_sales_agreement_line": {
"display_value": "SAL0010003"
},
"quote_line": {
"display_value": ""
},
"child_sales_agreement_lines": [],
"sales_agreement_line_characteristics": [
{
"sys_id": {
"display_value": "e385f329b5165610f87786d3c288431a"
},
"sys_created_by": {
"display_value": "maint"
},
"sys_updated_by": {
"display_value": "maint"
},
"sys_created_on": {
"display_value": "2024-12-05 22:43:51"
},
"sys_updated_on": {
"display_value": "2024-12-05 22:43:51"
},
"sales_agreement": {
"display_value": "SA0010004"
},
"sales_agreement_line": {
"display_value": "SAL0010004"
},
"characteristic": {
"display_value": "Connectivity Tech"
},
"type": {
"display_value": null
},
"characteristic_option": {
"display_value": "3G"
},
"value": {
"display_value": "3G"
}
}
],
"sales_agreement_line_adjustments": [
{
"sys_id": {
"display_value": "2385f329b5165610f87786d3c288431b"
},
"sys_created_by": {
"display_value": "maint"
},
"sys_updated_by": {
"display_value": "maint"
},
"sys_created_on": {
"display_value": "2024-12-05 22:43:51"
},
"sys_updated_on": {
"display_value": "2024-12-05 22:43:51"
},
"sales_agreement": {
"display_value": "SA0010004"
},
"sales_agreement_line": {
"display_value": "SAL0010004"
},
"adjustment_type": {
"display_value": "Markdown %"
},
"adjustment_source": {
"display_value": "Manual"
},
"adjustment_value": {
"display_value": "20"
},
"applicable_to": {
"display_value": "Unit Quantity"
},
"short_description": {
"display_value": "Price adjustment"
},
"number": {
"display_value": "SALA0010004"
},
"quantity": {
"display_value": "1"
},
"total_amount": {
"display_value": "£28.00"
},
"amount": {
"display_value": "£28.00"
}
}
]
}
],
"sales_agreement_line_characteristics": [
{
"sys_id": {
"display_value": "a785f329b5165610f87786d3c2884315"
},
"sys_created_by": {
"display_value": "maint"
},
"sys_updated_by": {
"display_value": "maint"
},
"sys_created_on": {
"display_value": "2024-12-05 22:43:51"
},
"sys_updated_on": {
"display_value": "2024-12-05 22:43:51"
},
"sales_agreement": {
"display_value": "SA0010004"
},
"sales_agreement_line": {
"display_value": "SAL0010003"
},
"characteristic": {
"display_value": "Connectivity Tech"
},
"type": {
"display_value": null
},
"characteristic_option": {
"display_value": "3G"
},
"value": {
"display_value": "3G"
}
}
],
"sales_agreement_line_adjustments": [
{
"sys_id": {
"display_value": "2b85f329b5165610f87786d3c2884316"
},
"sys_created_by": {
"display_value": "maint"
},
"sys_updated_by": {
"display_value": "maint"
},
"sys_created_on": {
"display_value": "2024-12-05 22:43:51"
},
"sys_updated_on": {
"display_value": "2024-12-05 22:43:51"
},
"sales_agreement": {
"display_value": "SA0010004"
},
"sales_agreement_line": {
"display_value": "SAL0010003"
},
"adjustment_type": {
"display_value": "Markdown %"
},
"adjustment_source": {
"display_value": "Auto"
},
"adjustment_value": {
"display_value": "10"
},
"applicable_to": {
"display_value": "Unit Quantity"
},
"short_description": {
"display_value": "Price adjustment"
},
"number": {
"display_value": "SALA0010003"
},
"quantity": {
"display_value": "3"
},
"total_amount": {
"display_value": "£120.00"
},
"amount": {
"display_value": "£40.00"
}
}
]
}
]
}
}
cURL request
The following example returns the sales agreement information associated with the given sys_id and the optional display_value parameter set to all so that all parameter values are provided in the response body.
curl "https://instance.service-now.com/api/sn_sales_agmt_core/v1/salesagreement/eb853fe5b5165610f87786d3c2884335?display_value=true" \
--request POST \
--header "Accept:application/json" \
--header "Content-Type:application/json" \
--data "{
"state": "active",
"account": "86837a386f0331003b3c498f5d3ee4ca",
"starts": "2024-01-01",
"ends": "2024-12-31",
"short_description": "this is a sample sales agreement",
"quote": "04ba9004f11f3110f8777d7194f166f6",
"default_price_list": "19d29513d0e63110f8770dbf976be122",
"contact": "",
"name": "",
"description": "",
"currency": "",
"sales_agreement_lines": [
{
"start_date": "2024-02-01",
"end_date": "2024-11-30",
"short_description": "this is sample sa line 1",
"state": "active",
"quantity": "",
"price_list": "19d29513d0e63110f8770dbf976be122",
"product_offering": "",
"product_specification": "",
"product_model": "",
"unit_net_price": "",
"unit_of_measure": "",
"shipping_location": "",
"billing_location": "",
"total_one_time_price": "",
"total_recurring_price": "",
"quote_line": "",
"child_sales_agreement_lines": [
{
"start_date": "2024-02-01",
"end_date": "2024-11-30",
"short_description": "this is sample sa line 1",
"state": "active",
"quantity": "",
"price_list": "19d29513d0e63110f8770dbf976be122",
"product_offering": "",
"product_specification": "",
"product_model": "",
"unit_net_price": "",
"unit_of_measure": "",
"shipping_location": "",
"billing_location": "",
"total_one_time_price": "",
"total_recurring_price": "",
"quote_line": "",
"sales_agreement_line_characteristics": [
{
"characteristic": "4d289f1a775131108e191e599a5a99c7",
"type": "coverage",
"characteristic_option": "",
"value": ""
}
]
},
{
"start_date": "2024-02-01",
"end_date": "2024-11-30",
"short_description": "this is sample sa line 1",
"state": "active",
"quantity": "",
"price_list": "19d29513d0e63110f8770dbf976be122",
"product_offering": "",
"product_specification": "",
"product_model": "",
"unit_net_price": "",
"unit_of_measure": "",
"shipping_location": "",
"billing_location": "",
"total_one_time_price": "",
"total_recurring_price": "",
"quote_line": "",
"sales_agreement_line_characteristics": [
{
"characteristic": "4d289f1a775131108e191e599a5a99c7",
"type": "coverage",
"characteristic_option": "",
"value": ""
}
]
}
],
"sales_agreement_line_characteristics": [
{
"characteristic": "4d289f1a775131108e191e599a5a99c7",
"type": "coverage",
"characteristic_option": "",
"value": ""
}
],
"sales_agreement_line_adjustments": [
{
"total_amount": "",
"quantity": 3,
"amount": "",
"short_description": "line adjustment",
"adjustment_value": "123",
"adjustment_source": "",
"adjustment_type": "d88bc79653dd91105c0eddeeff7b12c1",
"applicable_to": ""
}
]
}
]
}"
Response body. The response shows all parameters of the given sales agreement.
{
"result": {
"sys_id": {
"label": "Sys ID",
"value": "bc93e08a78755a10f8777f88938ba1d8",
"displayValue": "bc93e08a78755a10f8777f88938ba1d8",
"type": "GUID"
},
"sys_created_by": {
"name": "sys_created_by",
"label": "Created by",
"value": "maint",
"display_value": "maint",
"type": "string"
},
"sys_updated_by": {
"name": "sys_updated_by",
"label": "Updated by",
"value": "maint",
"display_value": "maint",
"type": "string"
},
"sys_created_on": {
"name": "sys_created_on",
"label": "Created",
"value": "2024-11-12 08:11:59",
"display_value": "2024-11-12 00:11:59",
"type": "glide_date_time"
},
"sys_updated_on": {
"name": "sys_updated_on",
"label": "Updated",
"value": "2024-11-12 08:11:59",
"display_value": "2024-11-12 00:11:59",
"type": "glide_date_time"
},
"name": null,
"account": {
"name": "account",
"label": "Account",
"value": "86837a386f0331003b3c498f5d3ee4ca",
"display_value": "Boxeo",
"type": "reference"
},
"consumer": {
"name": "consumer",
"label": "Consumer",
"value": null,
"display_value": "",
"type": "reference"
},
"number": {
"name": "number",
"label": "Number",
"value": "SA0010106",
"display_value": "SA0010106",
"type": "string"
},
"state": {
"name": "state",
"label": "State",
"value": "active",
"display_value": "Active",
"type": "string"
},
"starts": {
"name": "starts",
"label": "Start date",
"value": "2024-01-01",
"display_value": "2024-01-01",
"type": "glide_date"
},
"ends": {
"name": "ends",
"label": "End date",
"value": "2024-12-31",
"display_value": "2024-12-31",
"type": "glide_date"
},
"short_description": {
"name": "short_description",
"label": "Short description",
"value": "this is a sample sales agreement",
"display_value": "this is a sample sales agreement",
"type": "string"
},
"description": {
"name": "description",
"label": "Description",
"value": null,
"display_value": "",
"type": "string"
},
"currency": {
"name": "currency",
"label": "Currency",
"value": null,
"display_value": "",
"type": "reference"
},
"default_price_list": {
"name": "default_price_list",
"label": "Default price list",
"value": "19d29513d0e63110f8770dbf976be122",
"display_value": "Standard Price List",
"type": "reference"
},
"billing_location": {
"name": "billing_location",
"label": "Billing location",
"value": null,
"display_value": "",
"type": "reference"
},
"contact": {
"name": "contact",
"label": "Contact",
"value": null,
"display_value": "",
"type": "reference"
},
"shipping_location": {
"name": "shipping_location",
"label": "Shipping location",
"value": null,
"display_value": "",
"type": "reference"
},
"quote": {
"name": "quote",
"label": "Quote",
"value": "04ba9004f11f3110f8777d7194f166f6",
"display_value": "QT0000001",
"type": "reference"
},
"service_contract_lines": [
{
"sys_id": {
"label": "Sys ID",
"value": "3c93e08a78755a10f8777f88938ba1dd",
"displayValue": "3c93e08a78755a10f8777f88938ba1dd",
"type": "GUID"
},
"sys_created_by": {
"name": "sys_created_by",
"label": "Created by",
"value": "maint",
"display_value": "maint",
"type": "string"
},
"sys_updated_by": {
"name": "sys_updated_by",
"label": "Updated by",
"value": "maint",
"display_value": "maint",
"type": "string"
},
"sys_created_on": {
"name": "sys_created_on",
"label": "Created",
"value": "2024-11-12 08:11:59",
"display_value": "2024-11-12 00:11:59",
"type": "glide_date_time"
},
"sys_updated_on": {
"name": "sys_updated_on",
"label": "Updated",
"value": "2024-11-12 08:11:59",
"display_value": "2024-11-12 00:11:59",
"type": "glide_date_time"
},
"number": {
"name": "number",
"label": "Number",
"value": "SAL0010126",
"display_value": "SAL0010126",
"type": "string"
},
"sales_agreement": {
"name": "sales_agreement",
"label": "Sales agreement",
"value": "bc93e08a78755a10f8777f88938ba1d8",
"display_value": "SA0010106",
"type": "reference"
},
"short_description": {
"name": "short_description",
"label": "Short description",
"value": "this is sample sa line 1",
"display_value": "this is sample sa line 1",
"type": "string"
},
"start_date": {
"name": "start_date",
"label": "Start date",
"value": "2024-02-01",
"display_value": "2024-02-01",
"type": "glide_date"
},
"end_date": {
"name": "end_date",
"label": "End date",
"value": "2024-11-30",
"display_value": "2024-11-30",
"type": "glide_date"
},
"state": {
"name": "state",
"label": "State",
"value": "active",
"display_value": "Active",
"type": "string"
},
"product_offering": {
"name": "product_offering",
"label": "Product offering",
"value": null,
"display_value": "",
"type": "reference"
},
"product_specification": {
"name": "product_specification",
"label": "Product specification",
"value": null,
"display_value": "",
"type": "reference"
},
"product_model": {
"name": "product_model",
"label": "Product model",
"value": null,
"display_value": "",
"type": "reference"
},
"price_list": {
"label": "Price list",
"value": "19d29513d0e63110f8770dbf976be122",
"display_value": "Standard Price List",
"type": "reference"
},
"parent_line": {
"name": "parent_line",
"label": "Parent line",
"value": null,
"display_value": "",
"type": "reference"
},
"unit_net_price": {
"name": "unit_net_price",
"label": "Unit net price",
"value": "0",
"display_value": "£0.00",
"type": "currency"
},
"quantity": {
"name": "quantity",
"label": "Quantity",
"value": "2",
"display_value": "2",
"type": "decimal"
},
"unit_of_measure": null,
"shipping_location": {
"name": "shipping_location",
"label": "Shipping location",
"value": null,
"display_value": "",
"type": "reference"
},
"total_one_time_price": {
"name": "total_one_time_price",
"label": "Total one-time price",
"value": "0",
"display_value": "£0.00",
"type": "currency"
},
"total_recurring_price": {
"name": "total_recurring_price",
"label": "Total recurring price",
"value": "0",
"display_value": "£0.00",
"type": "currency"
},
"top_agreement_line": null,
"quote_line": {
"name": "quote_line",
"label": "Quote line",
"value": null,
"display_value": "",
"type": "reference"
},
"sales_agreement_line_characteristics": [
{
"sys_id": {
"label": "Sys ID",
"value": "b093e08a78755a10f8777f88938ba1e0",
"displayValue": "b093e08a78755a10f8777f88938ba1e0",
"type": "GUID"
},
"sys_created_by": {
"name": "sys_created_by",
"label": "Created by",
"value": "maint",
"display_value": "maint",
"type": "string"
},
"sys_updated_by": {
"name": "sys_updated_by",
"label": "Updated by",
"value": "maint",
"display_value": "maint",
"type": "string"
},
"sys_created_on": {
"name": "sys_created_on",
"label": "Created",
"value": "2024-11-12 08:11:59",
"display_value": "2024-11-12 00:11:59",
"type": "glide_date_time"
},
"sys_updated_on": {
"name": "sys_updated_on",
"label": "Updated",
"value": "2024-11-12 08:11:59",
"display_value": "2024-11-12 00:11:59",
"type": "glide_date_time"
},
"sales_agreement": {
"name": "sales_agreement",
"label": "Sales agreement",
"value": "bc93e08a78755a10f8777f88938ba1d8",
"display_value": "SA0010106",
"type": "reference"
},
"sales_agreement_line": {
"name": "sales_agreement_line",
"label": "Sales agreement line",
"value": "3c93e08a78755a10f8777f88938ba1dd",
"display_value": "SAL0010126",
"type": "reference"
},
"characteristic": {
"name": "characteristic",
"label": "Characteristic",
"value": "4d289f1a775131108e191e599a5a99c7",
"display_value": "AC",
"type": "reference"
},
"type": {
"name": "type",
"label": "Type",
"value": "coverage",
"display_value": "Coverage",
"type": "string"
},
"characteristic_option": {
"name": "characteristic_option",
"label": "Characteristic option",
"value": null,
"display_value": "",
"type": "reference"
},
"value": {
"name": "value",
"label": "Value",
"value": null,
"display_value": "",
"type": "string"
}
}
],
"sales_agreement_line_adjustments": [
{
"sys_id": {
"label": "Sys ID",
"value": "7093e08a78755a10f8777f88938ba1e1",
"displayValue": "7093e08a78755a10f8777f88938ba1e1",
"type": "GUID"
},
"sys_created_by": {
"name": "sys_created_by",
"label": "Created by",
"value": "maint",
"display_value": "maint",
"type": "string"
},
"sys_updated_by": {
"name": "sys_updated_by",
"label": "Updated by",
"value": "maint",
"display_value": "maint",
"type": "string"
},
"sys_created_on": {
"name": "sys_created_on",
"label": "Created",
"value": "2024-11-12 08:11:59",
"display_value": "2024-11-12 00:11:59",
"type": "glide_date_time"
},
"sys_updated_on": {
"name": "sys_updated_on",
"label": "Updated",
"value": "2024-11-12 08:11:59",
"display_value": "2024-11-12 00:11:59",
"type": "glide_date_time"
},
"sales_agreement": {
"name": "sales_agreement",
"label": "Sales agreement",
"value": "bc93e08a78755a10f8777f88938ba1d8",
"display_value": "SA0010106",
"type": "reference"
},
"sales_agreement_line": {
"name": "sales_agreement_line",
"label": "Sales Agreement Line",
"value": "3c93e08a78755a10f8777f88938ba1dd",
"display_value": "SAL0010126",
"type": "reference"
},
"adjustment_type": {
"name": "adjustment_type",
"label": "Adjustment type",
"value": "d88bc79653dd91105c0eddeeff7b12c1",
"display_value": "Markup amount",
"type": "reference"
},
"adjustment_source": {
"name": "adjustment_source",
"label": "Adjustment source",
"value": "MANUAL",
"display_value": "Manual",
"type": "string"
},
"adjustment_value": {
"name": "adjustment_value",
"label": "Adjustment value",
"value": "123",
"display_value": "123",
"type": "decimal"
},
"applicable_to": {
"name": "applicable_to",
"label": "Applicable to",
"value": "UNIT_QTY",
"display_value": "Unit Quantity",
"type": "string"
},
"short_description": {
"name": "short_description",
"label": "Short description",
"value": "line adjustment",
"display_value": "line adjustment",
"type": "string"
},
"number": {
"name": "number",
"label": "Number",
"value": "SALA0010031",
"display_value": "SALA0010031",
"type": "string"
},
"quantity": {
"name": "quantity",
"label": "Quantity",
"value": "3",
"display_value": "3",
"type": "integer"
},
"total_amount": {
"name": "total_amount",
"label": "Total amount",
"value": "0",
"display_value": "£0.00",
"type": "currency"
},
"amount": {
"name": "amount",
"label": "Amount",
"value": "0",
"display_value": "£0.00",
"type": "currency"
}
}
],
"child_sales_agreement_lines": [
{
"sys_id": {
"label": "Sys ID",
"value": "7893e08a78755a10f8777f88938ba1e2",
"displayValue": "7893e08a78755a10f8777f88938ba1e2",
"type": "GUID"
},
"sys_created_by": {
"name": "sys_created_by",
"label": "Created by",
"value": "maint",
"display_value": "maint",
"type": "string"
},
"sys_updated_by": {
"name": "sys_updated_by",
"label": "Updated by",
"value": "maint",
"display_value": "maint",
"type": "string"
},
"sys_created_on": {
"name": "sys_created_on",
"label": "Created",
"value": "2024-11-12 08:11:59",
"display_value": "2024-11-12 00:11:59",
"type": "glide_date_time"
},
"sys_updated_on": {
"name": "sys_updated_on",
"label": "Updated",
"value": "2024-11-12 08:11:59",
"display_value": "2024-11-12 00:11:59",
"type": "glide_date_time"
},
"number": {
"name": "number",
"label": "Number",
"value": "SAL0010127",
"display_value": "SAL0010127",
"type": "string"
},
"sales_agreement": {
"name": "sales_agreement",
"label": "Sales agreement",
"value": "bc93e08a78755a10f8777f88938ba1d8",
"display_value": "SA0010106",
"type": "reference"
},
"short_description": {
"name": "short_description",
"label": "Short description",
"value": "this is sample sa line 1",
"display_value": "this is sample sa line 1",
"type": "string"
},
"start_date": {
"name": "start_date",
"label": "Start date",
"value": "2024-02-01",
"display_value": "2024-02-01",
"type": "glide_date"
},
"end_date": {
"name": "end_date",
"label": "End date",
"value": "2024-11-30",
"display_value": "2024-11-30",
"type": "glide_date"
},
"state": {
"name": "state",
"label": "State",
"value": "active",
"display_value": "Active",
"type": "string"
},
"product_offering": {
"name": "product_offering",
"label": "Product offering",
"value": null,
"display_value": "",
"type": "reference"
},
"product_specification": {
"name": "product_specification",
"label": "Product specification",
"value": null,
"display_value": "",
"type": "reference"
},
"product_model": {
"name": "product_model",
"label": "Product model",
"value": null,
"display_value": "",
"type": "reference"
},
"price_list": {
"name": "price_list",
"label": "Price list",
"value": "19d29513d0e63110f8770dbf976be122",
"display_value": "Standard Price List",
"type": "reference"
},
"parent_line": {
"name": "parent_line",
"label": "Parent line",
"value": "3c93e08a78755a10f8777f88938ba1dd",
"display_value": "SAL0010126",
"type": "reference"
},
"unit_net_price": {
"name": "unit_net_price",
"label": "Unit net price",
"value": "0",
"display_value": "£0.00",
"type": "currency"
},
"quantity": {
"name": "quantity",
"label": "q",
"value": "2",
"display_value": "2",
"type": "decimal"
},
"unit_of_measure": null,
"shipping_location": {
"name": "shipping_location",
"label": "Shipping location",
"value": null,
"display_value": "",
"type": "reference"
},
"total_one_time_price": {
"name": "total_one_time_price",
"label": "Total one-time price",
"value": "0",
"display_value": "£0.00",
"type": "currency"
},
"total_recurring_price": {
"name": "total_recurring_price",
"label": "Total recurring price",
"value": "0",
"display_value": "£0.00",
"type": "currency"
},
"top_agreement_line": null,
"quote_line": {
"name": "quote_line",
"label": "Quote line",
"value": null,
"display_value": "",
"type": "reference"
},
"sales_agreement_line_characteristics": [
{
"sys_id": {
"label": "Sys ID",
"value": "74932c8a78755a10f8777f88938ba132",
"displayValue": "74932c8a78755a10f8777f88938ba132",
"type": "GUID"
},
"sys_created_by": {
"name": "sys_created_by",
"label": "Created by",
"display_value": "maint",
"type": "string"
},
"sys_updated_by": {
"name": "sys_updated_by",
"label": "Updated by",
"value": "maint",
"display_value": "maint",
"type": "string"
},
"sys_created_on": {
"name": "sys_created_on",
"label": "Created",
"value": "2024-11-12 08:11:59",
"display_value": "2024-11-12 00:11:59",
"type": "glide_date_time"
},
"sys_updated_on": {
"name": "sys_updated_on",
"label": "Updated",
"value": "2024-11-12 08:11:59",
"display_value": "2024-11-12 00:11:59",
"type": "glide_date_time"
},
"sales_agreement": {
"name": "sales_agreement",
"label": "Sales agreement",
"value": "bc93e08a78755a10f8777f88938ba1d8",
"display_value": "SA0010106",
"type": "reference"
},
"sales_agreement_line": {
"name": "sales_agreement_line",
"label": "Sales agreement line",
"value": "7893e08a78755a10f8777f88938ba1e2",
"display_value": "SAL0010127",
"type": "reference"
},
"characteristic": {
"name": "characteristic",
"label": "Characteristic",
"value": "4d289f1a775131108e191e599a5a99c7",
"display_value": "AC",
"type": "reference"
},
"type": {
"name": "type",
"label": "Type",
"value": "coverage",
"display_value": "Coverage",
"type": "string"
},
"characteristic_option": {
"name": "characteristic_option",
"label": "Characteristic option",
"value": null,
"display_value": "",
"type": "reference"
},
"value": {
"name": "value",
"label": "Value",
"value": null,
"display_value": "",
"type": "string"
}
}
],
"sales_agreement_line_adjustments": [],
"child_sales_agreement_lines": []
},
{
"sys_id": {
"label": "Sys ID",
"value": "78932c8a78755a10f8777f88938ba133",
"displayValue": "78932c8a78755a10f8777f88938ba133",
"type": "GUID"
},
"sys_created_by": {
"name": "sys_created_by",
"label": "Created by",
"value": "maint",
"display_value": "maint",
"type": "string"
},
"sys_updated_by": {
"name": "sys_updated_by",
"label": "Updated by",
"value": "maint",
"display_value": "maint",
"type": "string"
},
"sys_created_on": {
"name": "sys_created_on",
"label": "Created",
"value": "2024-11-12 08:11:59",
"display_value": "2024-11-12 00:11:59",
"type": "glide_date_time"
},
"sys_updated_on": {
"name": "sys_updated_on",
"label": "Updated",
"value": "2024-11-12 08:11:59",
"display_value": "2024-11-12 00:11:59",
"type": "glide_date_time"
},
"number": {
"name": "number",
"label": "Number",
"value": "SAL0010128",
"display_value": "SAL0010128",
"type": "string"
},
"sales_agreement": {
"name": "sales_agreement",
"label": "Sales agreement",
"value": "bc93e08a78755a10f8777f88938ba1d8",
"display_value": "SA0010106",
"type": "reference"
},
"short_description": {
"name": "short_description",
"label": "Short description",
"value": "this is sample sa line 1",
"display_value": "this is sample sa line 1",
"type": "string"
},
"start_date": {
"name": "start_date",
"label": "Start date",
"value": "2024-02-01",
"display_value": "2024-02-01",
"type": "glide_date"
},
"end_date": {
"name": "end_date",
"label": "End date",
"value": "2024-11-30",
"display_value": "2024-11-30",
"type": "glide_date"
},
"state": {
"name": "state",
"label": "State",
"value": "active",
"display_value": "Active",
"type": "string"
},
"product_offering": {
"name": "product_offering",
"label": "Product offering",
"value": null,
"display_value": "",
"type": "reference"
},
"product_specification": {
"name": "product_specification",
"label": "Product specification",
"value": null,
"display_value": "",
"type": "reference"
},
"product_model": {
"name": "product_model",
"label": "Product model",
"value": null,
"display_value": "",
"type": "reference"
},
"price_list": {
"name": "price_list",
"label": "Price list",
"value": "19d29513d0e63110f8770dbf976be122",
"display_value": "Standard Price List",
"type": "reference"
},
"parent_line": {
"name": "parent_line",
"label": "Parent line",
"value": "3c93e08a78755a10f8777f88938ba1dd",
"display_value": "SAL0010126",
"type": "reference"
},
"unit_net_price": {
"name": "unit_net_price",
"label": "Unit net price",
"value": "0",
"display_value": "£0.00",
"type": "currency"
},
"quantity": {
"name": "quantity",
"label": "Quantity",
"value": "2",
"display_value": "2",
"type": "decimal"
},
"unit_of_measure": null,
"shipping_location": {
"name": "shipping_location",
"label": "Shipping location",
"value": null,
"display_value": "",
"type": "reference"
},
"total_one_time_price": {
"name": "total_one_time_price",
"label": "Total one-time price",
"value": "0",
"display_value": "£0.00",
"type": "currency"
},
"total_recurring_price": {
"name": "total_recurring_price",
"label": "Total recurring price",
"value": "0",
"display_value": "£0.00",
"type": "currency"
},
"top_agreement_line": null,
"quote_line": {
"name": "quote_line",
"label": "Quote line",
"value": null,
"display_value": "",
"type": "reference"
},
"sales_agreement_line_characteristics": [
{
"sys_id": {
"label": "Sys ID",
"value": "38932c8a78755a10f8777f88938ba134",
"displayValue": "38932c8a78755a10f8777f88938ba134",
"type": "GUID"
},
"sys_created_by": {
"name": "sys_created_by",
"label": "Created by",
"value": "maint",
"display_value": "maint",
"type": "string"
},
"sys_updated_by": {
"name": "sys_updated_by",
"label": "Updated by",
"value": "maint",
"display_value": "maint",
"type": "string"
},
"sys_created_on": {
"name": "sys_created_on",
"label": "Created",
"value": "2024-11-12 08:11:59",
"display_value": "2024-11-12 00:11:59",
"type": "glide_date_time"
},
"sys_updated_on": {
"name": "sys_updated_on",
"label": "Updated",
"value": "2024-11-12 08:11:59",
"display_value": "2024-11-12 00:11:59",
"type": "glide_date_time"
},
"sales_agreement": {
"name": "sales_agreement",
"label": "Sales agreement",
"value": "bc93e08a78755a10f8777f88938ba1d8",
"display_value": "SA0010106",
"type": "reference"
},
"sales_agreement_line": {
"name": "sales_agreement_line",
"label": "Sales agreement line",
"value": "78932c8a78755a10f8777f88938ba133",
"display_value": "SAL0010128",
"type": "reference"
},
"characteristic": {
"name": "characteristic",
"label": "Characteristic",
"value": "4d289f1a775131108e191e599a5a99c7",
"display_value": "AC",
"type": "reference"
},
"type": {
"name": "type",
"label": "Type",
"value": "coverage",
"display_value": "Coverage",
"type": "string"
},
"characteristic_option": {
"name": "characteristic_option",
"label": "Characteristic option",
"value": null,
"display_value": "",
"type": "reference"
},
"value":
"name": "value",
"label": "Value",
"value": null,
"display_value": "",
"type": "string"
}
}
],
"sales_agreement_line_adjustments": [],
"child_sales_agreement_lines": []
}
]
}
]
}
}
cURL request
The following example returns the sales agreement information associated with the given sys_id and the optional display_value parameter set to true so that display values are provided in the response body.
curl "https://instance.service-now.com/api/sn_sales_agmt_core/v1/salesagreement/eb853fe5b5165610f87786d3c2884335?display_value=true" \
--request POST \
--header "Accept:application/json" \
--header "Content-Type:application/json" \
Response body. The response shows the display_values for every parameter of the given sales agreement.
{
"result": {
"sys_id": {
"display_value": "eb853fe5b5165610f87786d3c2884335"
},
"sys_created_by": {
"display_value": "maint"
},
"sys_updated_by": {
"display_value": "maint"
},
"sys_created_on": {
"display_value": "2024-12-05 22:43:51"
},
"sys_updated_on": {
"display_value": "2024-12-05 22:43:51"
},
"account": {
"display_value": "Boxeo"
},
"consumer": {
"display_value": ""
},
"number": {
"display_value": "SA0010004"
},
"state": {
"display_value": "Active"
},
"starts": {
"display_value": "2024-01-01"
},
"ends": {
"display_value": "2024-12-31"
},
"short_description": {
"display_value": "This is a Sa created by API"
},
"currency": {
"display_value": "USD"
},
"default_price_list": {
"display_value": "SA Price List"
},
"billing_location": {
"display_value": "100 South Charles Street, Baltimore,MD"
},
"contact": {
"display_value": "Alex Linde"
},
"shipping_location": {
"display_value": "100 South Charles Street, Baltimore,MD"
},
"quote": {
"display_value": "QT0000001"
},
"sales_agreement_lines": [
{
"sys_id": {
"display_value": "af853fe5b5165610f87786d3c2884339"
},
"sys_created_by": {
"display_value": "maint"
},
"sys_updated_by": {
"display_value": "maint"
},
"sys_created_on": {
"display_value": "2024-12-05 22:43:51"
},
"sys_updated_on": {
"display_value": "2024-12-05 22:43:51"
},
"number": {
"display_value": "SAL0010003"
},
"sales_agreement": {
"display_value": "SA0010004"
},
"short_description": {
"display_value": "this is sample sa line 1"
},
"start_date": {
"display_value": "2024-11-10"
},
"end_date": {
"display_value": "2024-12-31"
},
"state": {
"display_value": "Active"
},
"product_offering": {
"display_value": "Home Automation Bundle"
},
"product_specification": {
"display_value": ""
},
"product_model": {
"display_value": ""
},
"price_list": {
"display_value": "SA Price List"
},
"parent_line": {
"display_value": ""
},
"unit_net_price": {
"display_value": "£314.2315"
},
"quantity": {
"display_value": "2"
},
"unit_of_measurement": {
"display_value": "Each"
},
"shipping_location": {
"display_value": "100 South Charles Street, Baltimore,MD"
},
"total_one_time_price": {
"display_value": "£314.2315"
},
"total_recurring_price": {
"display_value": "£0.00"
},
"top_sales_agreement_line": {
"display_value": "SAL0010003"
},
"quote_line": {
"display_value": ""
},
"child_sales_agreement_lines": [
{
"sys_id": {
"display_value": "eb85f329b5165610f87786d3c2884318"
},
"sys_created_by": {
"display_value": "maint"
},
"sys_updated_by": {
"display_value": "maint"
},
"sys_created_on": {
"display_value": "2024-12-05 22:43:51"
},
"sys_updated_on": {
"display_value": "2024-12-05 22:43:51"
},
"number": {
"display_value": "SAL0010004"
},
"sales_agreement": {
"display_value": "SA0010004"
},
"short_description": {
"display_value": "this is sample child sa line 1"
},
"start_date": {
"display_value": "2024-11-11"
},
"end_date": {
"display_value": "2024-12-31"
},
"state": {
"display_value": "Active"
},
"product_offering": {
"display_value": "Home Automation Hub"
},
"product_specification": {
"display_value": ""
},
"product_model": {
"display_value": ""
},
"price_list": {
"display_value": "SA Price List"
},
"parent_line": {
"display_value": "SAL0010003"
},
"unit_net_price": {
"display_value": "£94.2694"
},
"quantity": {
"display_value": "2"
},
"unit_of_measurement": {
"display_value": "Each"
},
"shipping_location": {
"display_value": "100 South Charles Street, Baltimore,MD"
},
"total_one_time_price": {
"display_value": "£94.2694"
},
"total_recurring_price": {
"display_value": "£0.00"
},
"top_sales_agreement_line": {
"display_value": "SAL0010003"
},
"quote_line": {
"display_value": ""
},
"child_sales_agreement_lines": [],
"sales_agreement_line_characteristics": [
{
"sys_id": {
"display_value": "e385f329b5165610f87786d3c288431a"
},
"sys_created_by": {
"display_value": "maint"
},
"sys_updated_by": {
"display_value": "maint"
},
"sys_created_on": {
"display_value": "2024-12-05 22:43:51"
},
"sys_updated_on": {
"display_value": "2024-12-05 22:43:51"
},
"sales_agreement": {
"display_value": "SA0010004"
},
"sales_agreement_line": {
"display_value": "SAL0010004"
},
"characteristic": {
"display_value": "Connectivity Tech"
},
"type": {
"display_value": null
},
"characteristic_option": {
"display_value": "3G"
},
"value": {
"display_value": "3G"
}
}
],
"sales_agreement_line_adjustments": [
{
"sys_id": {
"display_value": "2385f329b5165610f87786d3c288431b"
},
"sys_created_by": {
"display_value": "maint"
},
"sys_updated_by": {
"display_value": "maint"
},
"sys_created_on": {
"display_value": "2024-12-05 22:43:51"
},
"sys_updated_on": {
"display_value": "2024-12-05 22:43:51"
},
"sales_agreement": {
"display_value": "SA0010004"
},
"sales_agreement_line": {
"display_value": "SAL0010004"
},
"adjustment_type": {
"display_value": "Markdown %"
},
"adjustment_source": {
"display_value": "Manual"
},
"adjustment_value": {
"display_value": "20"
},
"applicable_to": {
"display_value": "Unit Quantity"
},
"short_description": {
"display_value": "Price adjustment"
},
"number": {
"display_value": "SALA0010004"
},
"quantity": {
"display_value": "1"
},
"total_amount": {
"display_value": "£28.00"
},
"amount": {
"display_value": "£28.00"
}
}
]
}
],
"sales_agreement_line_characteristics": [
{
"sys_id": {
"display_value": "a785f329b5165610f87786d3c2884315"
},
"sys_created_by": {
"display_value": "maint"
},
"sys_updated_by": {
"display_value": "maint"
},
"sys_created_on": {
"display_value": "2024-12-05 22:43:51"
},
"sys_updated_on": {
"display_value": "2024-12-05 22:43:51"
},
"sales_agreement": {
"display_value": "SA0010004"
},
"sales_agreement_line": {
"display_value": "SAL0010003"
},
"characteristic": {
"display_value": "Connectivity Tech"
},
"type": {
"display_value": null
},
"characteristic_option": {
"display_value": "3G"
},
"value": {
"display_value": "3G"
}
}
],
"sales_agreement_line_adjustments": [
{
"sys_id": {
"display_value": "2b85f329b5165610f87786d3c2884316"
},
"sys_created_by": {
"display_value": "maint"
},
"sys_updated_by": {
"display_value": "maint"
},
"sys_created_on": {
"display_value": "2024-12-05 22:43:51"
},
"sys_updated_on": {
"display_value": "2024-12-05 22:43:51"
},
"sales_agreement": {
"display_value": "SA0010004"
},
"sales_agreement_line": {
"display_value": "SAL0010003"
},
"adjustment_type": {
"display_value": "Markdown %"
},
"adjustment_source": {
"display_value": "Auto"
},
"adjustment_value": {
"display_value": "10"
},
"applicable_to": {
"display_value": "Unit Quantity"
},
"short_description": {
"display_value": "Price adjustment"
},
"number": {
"display_value": "SALA0010003"
},
"quantity": {
"display_value": "3"
},
"total_amount": {
"display_value": "£120.00"
},
"amount": {
"display_value": "£40.00"
}
}
]
}
]
}
}
Sales Agreement - POST /api/sn_sales_agmt_core/salesagreement
Creates a new sales agreement according to details provided in the request body.
URL format
Versioned URL: /api/sn_sales_agmt_core/v1/salesagreement
Default URL: /api/sn_sales_agmt_core/salesagreement
Note: Available versions are specified in the REST API Explorer. For scripted REST APIs there is additional version information on the Scripted REST Service form.
Supported request parameters
| Name | Description |
|---|---|
| api\_version | Optional. Version of the endpoint to access. For example, `v1` or `v2`. Only specify this value to use an endpoint version other than the latest. Data type: String |
| Name | Description |
|---|---|
| None |
| Name | Description |
|---|---|
| account | Required. Sys\_id of the account.Table: Account \[customer\_account\] Data type: String |
| billing\_location | Billing address of the new sales agreement.Table: Location \[location\] Data type: String Default: empty string |
| contact | Sys\_id the contact.Table: Contact \[customer\_contact\] Data type: String Default: null |
| currency | Country currency code to use in the new sales agreement. For example, `USD` or `EUR`.Table: Currency \[fx\_currency\] Data type: Number \(decimal\) Default: 0 |
| default\_price\_list | Required. Sys\_id of the price list.Table: Price List \[sn\_csm\_pricing\_price\_list\] Data type: String |
| ends | Required. End date of the sales agreement.Format: YYYY-MM-DD Data type: String |
| quote | Sys\_id of the quote.Table: Quote \[sn\_quote\_mgmt\_core\_quote\] Data type: String |
| sales\_agreement\_lines | List of sales agreement lines under the sales agreement.Table: Sales Agreement Line \[sn\_sales\_agmt\_core\_sales\_agreement\_line\] Data type: Array of objects |
| sales\_agreement\_lines.child\_sales\_agreement\_lines | List of child sales agreement lines to associate with the parent sales agreement. Follows the same object structure as the sales_agreement_lines object parameter.Table: Sales Agreement Line [sn_sales_agmt_core_sales_agreement_line] Data type: Array of objects |
| sales\_agreement\_lines.child\_sales\_agreement\_lines.end\_date | Start date of the sales agreement line.Format: YYYY-MM-DD Data type: String |
| sales\_agreement\_lines.child\_sales\_agreement\_lines.price\_list | Sys\_id of the price list.Table: Price List \[sn\_csm\_pricing\_price\_list\] Data type: String Default: null |
| sales\_agreement\_lines.child\_sales\_agreement\_lines.product\_model | Sys\_id of the product model.Table: Product Model \[cmdb\_model\] Data type: String Default: null |
| sales\_agreement\_lines.child\_sales\_agreement\_lines.product\_offering | Sys\_id of the product offering.Table: Product Offering \[sn\_prd\_pm\_product\_offering\] Data type: String Default: null |
| sales\_agreement\_lines.child\_sales\_agreement\_lines.product\_specification | Sys\_id of the product specification.Table: Product Specification \[sn\_prd\_pm\_product\_specification\] Data type: String Default: null |
| sales\_agreement\_lines.child\_sales\_agreement\_lines.quantity | Number of products to add to the sales agreement line .Table: Product Model \[cmdb\_model\] Data type: Number \(decimal\) Default: 0 |
| sales\_agreement\_lines.child\_sales\_agreement\_lines.quote\_line | Sys\_id of the quote line item.Table: Quote Line \[sn\_quote\_mgmt\_core\_quote\_line\_item\] Data type: String Default: null |
| sales\_agreement\_lines.child\_sales\_agreement\_lines.sales\_agreement\_line\_adjustments | List of price adjustments under the child sales agreement line. Price adjustment data is inserted in the child sales agreement.Table: Sales Agreement Line Adjustments \[sn\_sales\_agmt\_core\_sales\_agreement\_line\_adjustment\] Data type: Array of objects |
| sales\_agreement\_lines.child\_sales\_agreement\_lines.sales\_agreement\_line\_adjustments.adjustment\_source | Source type of the adjustment.Accepted values: - manual - auto Data type: String Default: manual |
| sales\_agreement\_lines.child\_sales\_agreement\_lines.sales\_agreement\_line\_adjustments.adjustment\_type | Required. Sys\_id of the adjustment type.Table: Sales Agreement Line Adjustments \[sn\_sales\_agmt\_core\_sales\_agreement\_line\_adjustment\] Data type: String |
| sales\_agreement\_lines.child\_sales\_agreement\_lines.sales\_agreement\_line\_adjustments.adjustment\_value | Required. Value of the price modification.Data type: Number Table: Sales Agreement Line Adjustments \[sn\_sales\_agmt\_core\_sales\_agreement\_line\_adjustment\] Default: 0 |
| sales\_agreement\_lines.child\_sales\_agreement\_lines.sales\_agreement\_line\_adjustments.amount | Amount of the line adjustment.Data type: Number \(decimal\) Table: Sales Agreement Line Adjustments \[sn\_sales\_agmt\_core\_sales\_agreement\_line\_adjustment\] Default: null |
| sales\_agreement\_lines.child\_sales\_agreement\_lines.sales\_agreement\_line\_adjustments.applicable\_to | Sys\_id of the line adjustment record that this adjustment is applicable to.Data type: String Table: Sales Agreement Line Adjustments \[sn\_sales\_agmt\_core\_sales\_agreement\_line\_adjustment\] Default: null |
| sales\_agreement\_lines.child\_sales\_agreement\_lines.sales\_agreement\_line\_adjustments.quantity | Number of products to add to the child sales agreement line.Data type: Number Default: 0 |
| sales\_agreement\_lines.child\_sales\_agreement\_lines.sales\_agreement\_line\_adjustments.short\_description | Brief description of the sales agreement adjustment. Data type: String Default: Empty string |
| sales\_agreement\_lines.child\_sales\_agreement\_lines.sales\_agreement\_line\_adjustments.total\_amount | Total amount of the line adjustment. The sum of both the sales_agreement_line_adjustments.amount and sales_agreement_line_adjustments.adjustment_value values.Data type: Number (decimal) Default: 0 |
| sales\_agreement\_lines.child\_sales\_agreement\_lines.sales\_agreement\_line\_characteristics | List of characteristic data to insert in the child sales agreement line.Table: Sales Agreement Line Characteristics \[sn\_sales\_agmt\_core\_sales\_agreement\_line\_characteristic\] Data type: Array of objects |
| sales\_agreement\_lines.child\_sales\_agreement\_lines.sales\_agreement\_line\_characteristics .characteristic | Required. Sys\_id of a characteristic record. Table: Sales Agreement Line Characteristics \[sn\_sales\_agmt\_core\_sales\_agreement\_line\_characteristic\] Data type: String |
| sales\_agreement\_lines.child\_sales\_agreement\_lines.sales\_agreement\_line\_characteristics .characteristic\_option | Sys\_id of the characteristic option. Table: Sales Agreement Line Characteristics \[sn\_sales\_agmt\_core\_sales\_agreement\_line\_characteristic\] Data type: String |
| sales\_agreement\_lines.child\_sales\_agreement\_lines.sales\_agreement\_line\_characteristics .type | Type of the sales agreement characteristic.Accepted values: - coverage - coverage and usage Table: Sales Agreement Line Characteristics \[sn\_sales\_agmt\_core\_sales\_agreement\_line\_characteristic\] Data type: String Default: coverage |
| sales\_agreement\_lines.child\_sales\_agreement\_lines.sales\_agreement\_line\_characteristics .value | Value of the characteristic.Default: null Data type: String Table: Sales Agreement Line Characteristics \[sn\_sales\_agmt\_core\_sales\_agreement\_line\_characteristic\] |
| sales\_agreement\_lines.child\_sales\_agreement\_lines.shipping\_location | Reference to the shipping location of the child sales agreement line.Table: Location \[location\] Data type: String Default: |
| sales\_agreement\_lines.child\_sales\_agreement\_lines.short\_description | Brief details describing the child sales agreement line.Data type: String Default: Empty string |
| sales\_agreement\_lines.child\_sales\_agreement\_lines.start\_date | Required. Start date of the child sales agreement line.Format: YYYY-MM-DD Data type: String |
| sales\_agreement\_lines.child\_sales\_agreement\_lines.state | Required. Activity state in which to set the new sales agreement line. Accepted values: - pending\_activation: Sets the sales agreement line to a pending state. - suspended: Sets the sales agreement line to a suspended state. - active: Sets the sales agreement line to an active state. - expired: Sets the sales agreement in a expired state. - cancelled: Sets the sales agreement to a cancelled state. Data type: String Default: pending\_activation |
| sales\_agreement\_lines.child\_sales\_agreement\_lines.total\_one\_time\_price | Total one-time charges to be paid for the product or service.Data type: Number \(decimal\) Table: Sales Agreement Line \[sn\_sales\_agmt\_core\_sales\_agreement\_line\] Default: 0 |
| sales\_agreement\_lines.child\_sales\_agreement\_lines.total\_recurring\_price | Annual price for the product associated with the child line item.Data type: Number \(decimal\) Table: Sales Agreement Line \[sn\_sales\_agmt\_core\_sales\_agreement\_line\] Default: 0 |
| sales\_agreement\_lines.child\_sales\_agreement\_lines.unit\_net\_price | Price per each unit for the product associated with the sales agreement line.Table: Sales Agreement Line \[sn\_sales\_agmt\_core\_sales\_agreement\_line\] Data type: String Default value: 0 |
| sales\_agreement\_lines.end\_date | End date of the sales agreement line.Format: YYYY-MM-DD Data type: String |
| sales\_agreement\_lines.price\_list | Sys\_id of the price list associated with the sales agreement line.Table: Price List \[sn\_csm\_pricing\_price\_list\] Data type: String Default value: null |
| sales\_agreement\_lines.product\_model | Sys\_id of the product model associated with the sales agreement line.Table: Product Model \[cmdb\_model\] Data type: String Default value: null |
| sales\_agreement\_lines.product\_offering | Sys\_id of the product offering associated with the sales agreement line.Table: Product Offering \[sn\_prd\_pm\_product\_offering\] Data type: String Default value: null |
| sales\_agreement\_lines.product\_specification | Sys\_id of the product specification associated with the sales agreement line.Table: Product Specification \[sn\_prd\_pm\_product\_specification\] Data type: String Default value: null |
| sales\_agreement\_lines.quantity | Number of products to add to the sales agreement line.Data type: Number \(decimal\) Default: 0 |
| sales\_agreement\_lines.quote\_line | Sys\_id of the quote line item associated with the sales agreement line.Data type: String Table: Quote Line \[sn\_quote\_mgmt\_core\_quote\_line\_item\] Default value: null |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments | List of price adjustments to insert under the sales agreement line. Table: Sales Agreement Line Adjustments \[sn\_sales\_agmt\_core\_sales\_agreement\_line\_adjustment\] Data type: Array of objects |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.adjustment\_source | Source type of the adjustment.Accepted values: - manual - auto Data type: String Default: manual |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.adjustment\_type | Required. Sys\_id of the adjustment type.Table: Sales Agreement Line Adjustments \[sn\_sales\_agmt\_core\_sales\_agreement\_line\_adjustment\] Data type: String Default: null |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.adjustment\_value | Required. Value of the price adjustment.Data type: Number \(decimal\) |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.amount | Price amount of the line adjustment.Data type: Number \(decimal\) Default: 0 |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.applicable\_to | Quantity type that the sales adjustment is applicable to.Valid values: - LUMPSUM\_QTY: lipsum quantity - UNIT\_QTY: unit quantity Data type: String Default: null |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.quantity | Number of products to add to the sales agreement line adjustment.Table: Sales Agreement Line Adjustments \[sn\_sales\_agmt\_core\_sales\_agreement\_line\_adjustment\] Data type: Number \(decimal\) Default: 0 |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.short\_description | Brief description of the sales agreement adjustment. Data type: String Default: Empty string |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.total\_amount | Total amount of the line adjustment. The sum of both the sales_agreement_line_adjustments.amount and sales_agreement_line_adjustments.adjustment_value values.Data type: String Default: manual |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics | List of characteristics under the sales agreement line. The data in this parameter will be inserted in Sales Agreement Characteristics record. Table: Sales Agreement Line Characteristics \[sn\_sales\_agmt\_core\_sales\_agreement\_line\_characteristic\] Data type: Array of objects |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics .characteristic | Required. Sys\_id of the sales agreement line characteristic. Table: Sales Agreement Line Characteristics \[sn\_sales\_agmt\_core\_sales\_agreement\_line\_characteristic\] Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics .characteristic\_option | The characteristic option associated with the sales agreement line. Table: Product Characteristic Option \[sn\_prd\_pm\_characteristic\_option\] Data type: String Default: null |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics .type | Type of the sales agreement characteristic.Accepted values: - coverage - coverage and usage Table: Sales Agreement Line Characteristics \[sn\_sales\_agmt\_core\_sales\_agreement\_line\_characteristic\] Data type: String Default: coverage |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics .value | Value of the characteristic.Table: Sales Agreement Line Characteristics \[sn\_sales\_agmt\_core\_sales\_agreement\_line\_characteristic\] Data type: String Default: null |
| sales\_agreement\_lines.shipping\_location | Reference to the shipping location of the sales agreement line.Table: Sales Agreement Line \[sn\_sales\_agmt\_core\_sales\_agreement\_line\] Data type: String Default: null |
| sales\_agreement\_lines.short\_description | Brief details describing the sales agreement line.Data type: String Default: Empty string |
| sales\_agreement\_lines.start\_date | Start date of the sales agreement line.Format: YYYY-MM-DD Data type: String |
| sales\_agreement\_lines.state | Required. Activity state in which to set the new sales agreement line. Accepted values: - pending\_activation: Sets the sales agreement line to a pending state. - suspended: Sets the sales agreement line to a suspended state. - active: Sets the sales agreement line to an active state. - expired: Sets the sales agreement in a expired state. - cancelled: Sets the sales agreement to a cancelled state. Data type: String Table: Sales Agreement Line \[sn\_sales\_agmt\_core\_sales\_agreement\_line\] Default: pending\_activation |
| sales\_agreement\_lines.total\_one\_time\_price | Total one-time price to be paid for the product or service associated with the sales agreement line.Data type: Number \(decimal\) Default: 0 |
| sales\_agreement\_lines.unit\_net\_price | The price for each unit within the sales agreement line.Data type: Number \(decimal\) Default value: 0 |
| sales\_agreement\_lines.unit\_of\_measurement | The unit of measurement. For example, `bundle` or `each`.Table: Unit of measures \[sn\_prd\_pm\_uom\_list\] Data type: String Default value: null |
| shipping\_location | Shipping location of the sales agreement.Table: Location \[location\] Data type: String Default: null |
| short\_description | Brief details describing the sales agreement.Table: Sales Agreement Line \[sn\_sales\_agmt\_core\_sales\_agreement\_line\] Data type: String Default: Empty string |
| starts | Required. Start date of the sales agreement.Format: YYYY-MM-DD Data type: String |
| state | Activity state in which to set the new sales agreement. Accepted values: - draft: Sets the sales agreement in a draft state. - active: Sets the sales agreement to an active state. - expired: Sets the sales agreement in a expired state. - cancelled: Sets the sales agreement to a cancelled state. Table: Sales Agreement Line \[sn\_sales\_agmt\_core\_sales\_agreement\_line\] Data type: String Default: draft |
Headers
The following request and response headers apply to this HTTP action only, or apply to this action in a distinct way. For a list of general headers used in the REST API, see Supported REST API headers.
| Header | Description |
|---|---|
| Accept | Data format of the response body. Only supports application/json. |
| Content-Type | Data format of the request body. Only supports application/json. |
| Header | Description |
|---|---|
| None |
Status codes
The following status codes apply to this HTTP action. For a list of possible status codes used in the REST API, see REST API HTTP response codes.
| Status code | Description |
|---|---|
| 201 | Record is successfully created. |
| 400 | Bad Request. A bad request type or malformed request was detected. |
| 403 | Forbidden. The user doesn't have access rights to the specified record. |
Response body parameters (JSON or XML)
| Name | Description |
|---|---|
| result | Results of the sales agreement with all its associated information.Data type: Object |
| account | Account information associated with the sales agreement.Table: Account \[customer\_account\] Data type: Object |
| account.display\_value | Display value of the account. Matches account.value.Data type: String |
| account.label | Label of the account.Data type: String |
| account.name | Name of the account.Data type: String |
| account.type | Type of account. Value is always `reference`.Data type: String |
| account.value | Sys\_id of the account.Table: Account \[customer\_account\] Data type: String |
| billing\_location | Billing address of the sales agreement.Updated table: Location \[cmn\_location\] Data type: Object |
| billing\_location.display\_value | Display value of the billing location. Matches billing_location.value.Data type: String |
| billing\_location.label | Label of the billing location.Data type: String |
| billing\_location.name | Name of the billing location.Data type: String |
| billing\_location.type | Type of billing location. Value is always `reference`.Data type: String |
| billing\_location.value | Value of the billing location.Data type: String |
| consumer | Consumer details of the sales agreement.Table: Consumer \[csm\_consumer\] Data type: Object |
| consumer.display\_value | Display value of the consumer. Matches consumer.value.Data type: String |
| consumer.label | Label of the consumer.Data type: String |
| consumer.name | Name of the consumer.Data type: String |
| consumer.type | Type of consumer. Value is always `reference`.Data type: String |
| consumer.value | Value of the consumer.Data type: String |
| contact | Contact information associated with the sales agreement.Table: Contact \[customer\_contact\] Data type: Object |
| contact.display\_value | Display value of the contact. Matches contact.value.Data type: String |
| contact.label | Label of the contact.Data type: String |
| contact.name | Name of the contact. Data type: String |
| contact.type | Type of contact. Value is always `reference`.Data type: String |
| contact.value | Value of the contact.Data type: String |
| currency | Currency code associated with the sales agreement.Table: Currency \[fx\_currency\] Data type: Object |
| currency.display\_value | Display value of the currency. Matches currency.value. For example, USD.Data type: String |
| currency.label | Label of the currency.Data type: String |
| currency.name | Name of the currency.Data type: String |
| currency.type | Type of currency. Value is always `reference`.Data type: String |
| currency.value | Country currency code of the currency. For example, `USD`.Data type: String |
| default\_price\_list | Details about the default price list of the sales agreement.Table: Price List \[sn\_csm\_pricing\_price\_list\] Data type: Object |
| default\_price\_list.display\_value | Display value of the default price list.Data type: String |
| default\_price\_list.label | Label of the default price list.Data type: String |
| default\_price\_list.name | Name of the default price list.Data type: String |
| default\_price\_list.type | Type of default price list. Value is always `reference`.Data type: String |
| default\_price\_list.value | Sys\_id of the default price list.Data type: String |
| ends | End date of the sales agreement.Data type: Object |
| ends.display\_value | Display value of the end date. Matches end.value.Data type: String |
| ends.label | Label of the end date.Data type: String |
| ends.label | Name of the end date.Data type: String |
| ends.type | Type of end date. Value is always `glide_date`.Data type: String |
| ends.value | Value of the end date.Format: YYYY-MM-DD Data type: String |
| number | Automatically generated sales agreement number or the number posted .Table: Sales Agreement \[sn\_sales\_agmt\_core\_sales\_agreement\] Data type: Object |
| number.display\_value | Display value of the sales agreement number. Matches number.value.Data type: String |
| number.label | Label of the sales agreement number.Data type: String |
| number.name | Name of the sales agreement number.Data type: String |
| number.type | Type of sales agreement number. Value is always `String`.Data type: String |
| number.value | Value of the sales agreement number. For example, `SA0010106`.Data type: String |
| quote | Information about the sales agreement quote.Table: Quote \[sn\_quote\_mgmt\_core\_quote\] Data type: Object |
| quote.display\_value | Display value of the quote.Data type: String |
| quote.label | Label of the quote.Data type: String |
| quote.name | Name of the quote.Data type: String |
| quote.type | Type of quote. Value is always `reference`.Data type: String |
| quote.value | Sys\_id of the quote.Data type: String |
| sales\_agreement\_lines | List of sales agreement lines under the sales agreement. Table: Sales Agreement Line \[sn\_sales\_agmt\_core\_sales\_agreement\_line\] Data type: Array of objects |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments | List of sales agreement line adjustments.Table: Sales Agreement Line Adjustments \[sn\_sales\_agmt\_core\_sales\_agreement\_line\_adjustment\] Data type: Array of objects |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.adjustment\_source | Source information of the sales agreement line adjustment.Table: Sales Agreement Line Adjustments \[sn\_sales\_agmt\_core\_sales\_agreement\_line\_adjustment\] Data type: Object |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.adjustment\_source.display\_value | Source display value of the sales agreement line adjustment. Matches sales agreement line adjustment.value.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.adjustment\_source.label | Source label of the sales agreement line adjustment.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.adjustment\_source.name | Source name of the sales agreement line adjustment.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.adjustment\_source.type | Source type of sales agreement line adjustment. Value is always `string`.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.adjustment\_source.value | Source value of the sales agreement line adjustment.Possible values: - auto - manual Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.adjustment\_type | Information about the sales agreement line adjustment type.Data type: Object |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.adjustment\_type.display\_value | Display value of the adjustment type.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.adjustment\_type.label | Label of the adjustment type.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.adjustment\_type.name | Name of the adjustment type.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.adjustment\_type.type | Type of adjustment type. Value is always `reference`.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.adjustment\_type.value | Sys\_id of the adjustment type.Table: Sales Agreement Line Adjustments \[sn\_sales\_agmt\_core\_sales\_agreement\_line\_adjustment\] Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.adjustment\_value | Information about the adjustment value.Table: Sales Agreement Line Adjustments \[sn\_sales\_agmt\_core\_sales\_agreement\_line\_adjustment\] Data type: Object |
| sales\_agreement\_lines.agreement\_line\_adjustments.adjustment\_value.display\_value | Display value of the adjustment value. Matches adjustment_value.value.Data type: Number (decimal) |
| sales\_agreement\_lines.agreement\_line\_adjustments.adjustment\_value.label | Label of the adjustment value.Data type: String |
| sales\_agreement\_lines.agreement\_line\_adjustments.adjustment\_value.name | Name of the adjustment value.Data type: String |
| sales\_agreement\_lines.agreement\_line\_adjustments.adjustment\_value.type | Type of adjustment. Value is always `decimal`.Data type: String |
| sales\_agreement\_lines.agreement\_line\_adjustments.adjustment\_value.value | Number value of the adjustment.Data type: Number \(decimal\) |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.amount | Information about the amount of the sales agreement line adjustment.Table: Sales Agreement Line Adjustments \[sn\_sales\_agmt\_core\_sales\_agreement\_line\_adjustment\] Data type: Object |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.amount.display\_value | Display value of the adjustment amount. Matches amount.value. Automatically includes the dollar sign of the associated currency (for example, $0.00 when currency is set to USD).Data type: Number (decimal) |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.amount.label | Label of the adjustment amount.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.amount.name | Name of the adjustment amount.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.amount.type | Type of the adjustment amount. Value is always `currency`.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.amount.value | Dollar value of the adjustment amount.Data type: Number |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.applicable\_to | Reference of the entity that the adjustment is applicable to.Table: Sales Agreement Line Adjustments \[sn\_sales\_agmt\_core\_sales\_agreement\_line\_adjustment\] Data type: Object |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.applicable\_to.display\_value | Display value of the entity that the adjustment is applicable to. Matches applicable_to.value.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.applicable\_to.label | Label of the entity that the adjustment is applicable to.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.applicable\_to.name | Name of the entity that the adjustment is applicable to.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.applicable\_to.type | Type of the entity that the adjustment is applicable to. Value is always `String`.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.applicable\_to.value | Quantity type that the line adjustment is applicable to.Possible values: - LUMPSUM\_QTY: lipsum quantity - UNIT\_QTY: unit quantity Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.number | Automatically generated sales agreement line adjustments number or the number posted.Table: Sales Agreement Line Adjustments \[sn\_sales\_agmt\_core\_sales\_agreement\_line\_adjustment\] Data type: Object |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.number.display\_value | Display value of the adjustments number. Matches number.value.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.number.label | Label of the adjustment number.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.number.name | Name of the adjustment number.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.number.type | Type of the adjustment number. Value is always `string`.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.number.value | Value of the adjustment number. For example, `SALA0010004`.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.quantity | Quantity of product adjusted on the sales agreement line.Table: Sales Agreement Line Adjustments \[sn\_sales\_agmt\_core\_sales\_agreement\_line\_adjustment\] Data type: Object |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.quantity.display\_value | Display value of the adjustment quantity. Matches quantity.value.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.quantity.label | Label of the adjustment quantity.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.quantity.name | Name of the adjustment quantity.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.quantity.type | Type of the adjustment quantity. Value is always `decimal`.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.quantity.value | Value of the adjustment quantity.Data type: Number |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.sales\_agreement | Reference to the sales agreement associated with the sales agreement line adjustment.Table: Sales Agreement Line Adjustments \[sn\_sales\_agmt\_core\_sales\_agreement\_line\_adjustment\] Data type: Object |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.sales\_agreement.display\_value | Display value of the sales agreement associated with the sales agreement line adjustment. For example, `SA0010106`.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.sales\_agreement.label | Label of the sales agreement associated with the sales agreement line adjustment.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.sales\_agreement.name | Name of the sales agreement associated with the sales agreement line adjustment.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.sales\_agreement.type | Type of the sales agreement associated with the sales agreement line adjustment. Value is always `reference`.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.sales\_agreement.value | Sys\_id of the sales agreement associated with the sales agreement line adjustment.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.sales\_agreement\_line | Reference to sales agreement line associated with the sales agreement line adjustment.Table: Sales Agreement Line Adjustments \[sn\_sales\_agmt\_core\_sales\_agreement\_line\_adjustment\] Data type: Object |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.sales\_agreement\_line.display\_value | Number of the sales agreement associated with the sales agreement line adjustment. For example, `SAL0010126`.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.sales\_agreement\_line.label | Label of the sales agreement associated with the sales agreement line adjustment.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.sales\_agreement\_line.name | Name of the sales agreement associated with the sales agreement line adjustment.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.sales\_agreement\_line.type | Type of the sales agreement associated with the sales agreement line adjustment. Value is always `String`.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.sales\_agreement\_line.value | Sys\_id of the sales agreement associated with the sales agreement line adjustment.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.short\_description | Brief description detailing the sales agreement line adjustment.Table: Sales Agreement Line Adjustments \[sn\_sales\_agmt\_core\_sales\_agreement\_line\_adjustment\] Data type: Object |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.short\_description.display\_value | Display value of the short description detailing the particular line adjustment. Matches short_description.value.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.short\_description.label | Label of the short description detailing the particular line adjustment.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.short\_description.name | Name of the short description detailing the particular line adjustment.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.short\_description.type | Type of the short description detailing the particular line adjustment. Value is always `string`.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.short\_description.value | Value of the short description detailing the particular line adjustment.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.sys\_created\_by | Name of the user who created the sales agreement line adjustment.Table: Sales Agreement Line Adjustments \[sn\_sales\_agmt\_core\_sales\_agreement\_line\_adjustment\] Data type: Object |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.sys\_created\_by.display\_value | Display value of the user who created the sales agreement line adjustment. Matches created_by.value.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.sys\_created\_by.label | Label of the user who created the sales agreement line adjustment.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.sys\_created\_by.name | Name of the user who created the sales agreement line adjustment.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.sys\_created\_by.type | Type of the user who created the sales agreement line adjustment. Value is always `string`.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.sys\_created\_by.value | Value of the user who created the sales agreement line adjustment.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.sys\_created\_on | Date and time of when the sales agreement line adjustment was created.Data type: Object |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.sys\_created\_on.display\_value | Display value of the date and time that the line adjustment was created. Matches created_on.value.Format: YYYY-MM-DD HH:mm:ss Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.sys\_created\_on.label | Label of the date and time that the line adjustment was created.Format: YYYY-MM-DD HH:mm:ss Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.sys\_created\_on.name | Name of the date and time that the line adjustment was created.Format: YYYY-MM-DD HH:mm:ss Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.sys\_created\_on.type | Type of the date and time that the line adjustment was created. Value is always `glide_date_time`.Format: YYYY-MM-DD HH:mm:ss Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.sys\_created\_on.value | Value of the date and time that the line adjustment was created.Format: YYYY-MM-DD HH:mm:ss Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.sys\_id | Sys\_id of the sales agreement line adjustment.Table: Sales Agreement Line Adjustments \[sn\_sales\_agmt\_core\_sales\_agreement\_line\_adjustment\] Data type: Object |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.sys\_id.display\_value | Display value of the line adjustment sys_id. Matches sys_id.value.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.sys\_id.label | Label of the line adjustment sys\_id.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.sys\_id.name | Name of the line adjustment sys\_id.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.sys\_id.type | Type of the line adjustment sys\_id. Value is always `string`.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.sys\_id.value | Value of the line adjustment sys\_id.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.sys\_updated\_by | Name of the user who last updated the sales agreement line adjustment.Table: Sales Agreement Line Adjustments \[sn\_sales\_agmt\_core\_sales\_agreement\_line\_adjustment\] Data type: Object |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.sys\_updated\_by.display\_value | Display value of the user who last updated the sales agreement line adjustment. Matches updated_by.value.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.sys\_updated\_by.label | Label of the user who last updated the sales agreement line adjustment.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.sys\_updated\_by.name | Name of the user who last updated the sales agreement line adjustment.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.sys\_updated\_by.type | Type of user who last updated the sales agreement line adjustment. Value is always `String`.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.sys\_updated\_by.value | Value of the user who last updated the sales agreement line adjustment.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.sys\_updated\_on | Date and time when the sales agreement line adjustment was updated.Data type: Object |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.sys\_updated\_on.display\_value | Display value of the date and time that the line adjustment was last updated. Matches updated_on.value.Format: YYYY-MM-DD HH:mm:ss Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.sys\_updated\_on.label | Label of the date and time that the line adjustment was last updated.Format: YYYY-MM-DD HH:mm:ss Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.sys\_updated\_on.name | Name of the date and time that the line adjustment was last updated.Format: YYYY-MM-DD HH:mm:ss Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.sys\_updated\_on.type | Type of date and time that the line adjustment was last updated. Value is always `glide_date_time`.Format: YYYY-MM-DD HH:mm:ss Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.sys\_updated\_on.value | Value of the date and time that the line adjustment was last updated.Format: YYYY-MM-DD HH:mm:ss Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.total\_amount | Total amount of the sales agreement line adjustment.Table: Sales Agreement Line Adjustments \[sn\_sales\_agmt\_core\_sales\_agreement\_line\_adjustment\] Data type: Object |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.total\_amount.display\_value | Display value of the total adjustment amount. Matches total_amount.value.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.total\_amount.label | Label of the total adjustment amount.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.total\_amount.name | Name of the total adjustment amount.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.total\_amount.type | Type of the total adjustment amount. Value is always `currency`.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_adjustments.total\_amount.value | Value of the total adjustment amount.Data type: String represented by a number \(float\) |
| sales\_agreement\_lines.child\_sales\_agreement\_lines | List of sales agreement lines. Follows the same object structure as the sales_agreement_lines object parameter.Table: Sales Agreement Line [sn_sales_agmt_core_sales_agreement_line] Data type: Array of objects |
| sales\_agreement\_lines.end\_date | End date of the sales agreement line.Data type: Object |
| sales\_agreement\_lines.end\_date.display\_value | Display value of the end date for the sales agreement line. Matches end.value.Data type: String |
| sales\_agreement\_lines.end\_date.label | Label of the end date for the sales agreement line.Data type: String |
| sales\_agreement\_lines.end\_date.name | Name of the end date for the sales agreement line.Data type: String |
| sales\_agreement\_lines.end\_date.type | Type of end date for the sales agreement line. Value is always `glide_date_time`.Data type: String |
| sales\_agreement\_lines.end\_date.value | End date and time value of the sales agreement line.Format: YYYY-MM-DD HH:mm:ss Data type: String |
| sales\_agreement\_lines.number | Automatically generated sales agreement line number or the number posted .Table: Sales Agreement Line \[sn\_sales\_agmt\_core\_sales\_agreement\_line\] Data type: Object |
| sales\_agreement\_lines.number.display\_value | Display value of the sales agreement line number. For example, SAL0010128. Matches number.value.Data type: String |
| sales\_agreement\_lines.number.label | Label of the number.Data type: String |
| sales\_agreement\_lines.number.name | Name of the number.Data type: String |
| sales\_agreement\_lines.number.type | Type of number. Value is always `string`.Data type: String |
| sales\_agreement\_lines.number.value | Value of the sales agreement line number. For example, `SAL0010128`.Data type: String |
| sales\_agreement\_lines.parent\_line | Information about the parent sales agreement line.Table: Sales Agreement Line \[sn\_sales\_agmt\_core\_sales\_agreement\_line\] Data type: Object |
| sales\_agreement\_lines.parent\_line.display\_value | Display number of the parent sales agreement line. For example, `SAL0010126`.Data type: String |
| sales\_agreement\_lines.parent\_line.label | Label of the parent sales agreement line.Data type: String |
| sales\_agreement\_lines.parent\_line.name | Name of the parent sales agreement line.Data type: String |
| sales\_agreement\_lines.parent\_line.type | Type of parent sales agreement line. Value is always `reference`.Data type: String |
| sales\_agreement\_lines.parent\_line.value | Sys\_id of the parent sales agreement line.Data type: String |
| sales\_agreement\_lines.price\_list | Price list details of the sales agreement line.Table: Sales Agreement Line \[sn\_sales\_agmt\_core\_sales\_agreement\_line\] Data type: Object |
| sales\_agreement\_lines.price\_list.display\_value | Display value of the sales agreement line's price list.Data type: String |
| sales\_agreement\_lines.price\_list.label | Label of the sales agreement line's price list.Data type: String |
| sales\_agreement\_lines.price\_list.name | Name of the sales agreement line's price list.Data type: String |
| sales\_agreement\_lines.price\_list.type | Type of sales agreement line's price list. Value is always `reference`.Data type: String |
| sales\_agreement\_lines.price\_list.value | Sys\_id of the price list associated with the sales agreement line.Data type: String |
| sales\_agreement\_lines.product\_model | Details about the product model on the sales agreement line.Table: Product Model \[cmdb\_model\] Data type: Object |
| sales\_agreement\_lines.product\_model.display\_value | Display value of the product model on the sales agreement line. Matches product_model.value.Data type: String |
| sales\_agreement\_lines.product\_model.label | Label of the product model on the sales agreement line.Data type: String |
| sales\_agreement\_lines.product\_model.name | Name of the product model on the sales agreement line.Data type: String |
| sales\_agreement\_lines.product\_model.type | Type of product model on the sales agreement line. Value is always `reference`.Data type: String |
| sales\_agreement\_lines.product\_model.value | Value of the product model on the sales agreement line.Data type: String |
| sales\_agreement\_lines.product\_offering | Details about the product offering on the sales agreement line.Table: Product Offering \[sn\_prd\_pm\_product\_offering\] Data type: Object |
| sales\_agreement\_lines.product\_offering.display\_value | Display value of the product offering on the sales agreement line.Data type: String |
| sales\_agreement\_lines.product\_offering.label | Label of the product offering on the sales agreement line.Data type: String |
| sales\_agreement\_lines.product\_offering.name | Name of the product offering on the sales agreement line.Data type: String |
| sales\_agreement\_lines.product\_offering.type | Type of product offering on the sales agreement line. Value is always `reference`.Data type: String |
| sales\_agreement\_lines.product\_offering.value | Value of the product offering on the sales agreement line.Data type: String |
| sales\_agreement\_lines.product\_specification | Reference to product specification of the sales agreement line.Table: Sales Agreement Line \[sn\_sales\_agmt\_core\_sales\_agreement\_line\] Data type: Object |
| sales\_agreement\_lines.product\_specification.display\_value | Display value of the product offering on the sales agreement line. Matches product_specification.value.Data type: String |
| sales\_agreement\_lines.product\_specification.label | Label of the product specification on the sales agreement line.Data type: String |
| sales\_agreement\_lines.product\_specification.name | Name of the product specification on the sales agreement line.Data type: String |
| sales\_agreement\_lines.product\_specification.type | Type of product specification on the sales agreement line. Value is always `reference`.Data type: String |
| sales\_agreement\_lines.product\_specification.value | Value of the product specification on the sales agreement line.Data type: String |
| sales\_agreement\_lines.quantity | Number of products to add to the sales agreement line.Table: Sales Agreement Line \[sn\_sales\_agmt\_core\_sales\_agreement\_line\] Data type: Object |
| sales\_agreement\_lines.quantity.display\_value | Display value of the product quantity on the sales agreement line. Matches quantity.value.Data type: String |
| sales\_agreement\_lines.quantity.label | Label of the product quantity on the sales agreement line.Data type: String |
| sales\_agreement\_lines.quantity.name | Name of the product quantity on the sales agreement line.Data type: String |
| sales\_agreement\_lines.quantity.type | Type of product quantity on the sales agreement line. Value is always `decimal`.Data type: String |
| sales\_agreement\_lines.quantity.value | Number of products on the sales agreement line. Data type: Number |
| sales\_agreement\_lines.quote\_line | Reference of the quote line item on the sales agreement line.Table: Quote Line \[sn\_quote\_mgmt\_core\_quote\_line\_item\] Data type: Object |
| sales\_agreement\_lines.quote\_line.display\_value | Display value of the quote line item on the sales agreement line.Data type: String |
| sales\_agreement\_lines.quote\_line.label | Label of the quote line item on the sales agreement line.Data type: String |
| sales\_agreement\_lines.quote\_line.name | Name of the quote line item on the sales agreement line.Data type: String |
| sales\_agreement\_lines.quote\_line.type | Type of quote line item on the sales agreement line. Value is always `reference`.Data type: String |
| sales\_agreement\_lines.quote\_line.value | Value of the quote line item on the sales agreement line.Data type: String |
| sales\_agreement\_lines.sales\_agreement | Reference to the sales agreement of the sales agreement line.Table: Sales Agreement Line \[sn\_sales\_agmt\_core\_sales\_agreement\_line\] Data type: Object |
| sales\_agreement\_lines.sales\_agreement.display\_value | Display value of the sales agreement of the sales agreement line. For example, `SA0010106`.Data type: String |
| sales\_agreement\_lines.sales\_agreement.label | Label of the sales agreement of the sales agreement line.Data type: String |
| sales\_agreement\_lines.sales\_agreement.name | Name of the sales agreement of the sales agreement line.Data type: String |
| sales\_agreement\_lines.sales\_agreement.type | Type of sales agreement of the sales agreement line. Value is always `reference`.Data type: String |
| sales\_agreement\_lines.sales\_agreement.value | Sys\_id of the sales agreement of the sales agreement line.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics | List of sales agreement line characteristics.Table: Sales Agreement Line Characteristics \[sn\_sales\_agmt\_core\_sales\_agreement\_line\_characteristic\] Data type: Array of objects |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.characteristic | Characteristic associated with the sales agreement line.Table: sn\_prd\_pm\_characteristic Data type: Object |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.characteristic.display\_value | Display value of the characteristic on the sales agreement line.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.characteristic.label | Label of the characteristic on the sales agreement line.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.characteristic.name | Name of the characteristic on the sales agreement line.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.characteristic.type | Type of characteristic on the sales agreement line. Value is always `reference`.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.characteristic.value | Value of the characteristic on the sales agreement line.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.characteristic\_option | Information about the characteristic option on the sales agreement line.Table: Sales Agreement Line Characteristics \[sn\_sales\_agmt\_core\_sales\_agreement\_line\_characteristic\] Data type: Object |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.characteristic\_option.display\_value | Display value of the characteristic on the sales agreement line. Matches characteristic_option.value. Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.characteristic\_option.label | Label of the characteristic option on the sales agreement line.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.characteristic\_option.name | Name of the characteristic option on the sales agreement line.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.characteristic\_option.type | Type of characteristic option on the sales agreement line. Value is always `reference`.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.characteristic\_option.value | Value of the characteristic option on the sales agreement line.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.sales\_agreement | Details of the sales agreement characteristic on the sales agreement line.Table: Sales Agreement Line Characteristics \[sn\_sales\_agmt\_core\_sales\_agreement\_line\_characteristic\] Data type: Object |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.sales\_agreement.display\_value | Display value of the sales agreement characteristic. Matches sales_agreement.value. Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.sales\_agreement.label | Label of the sales agreement characteristic.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.sales\_agreement.name | Name of the sales agreement characteristic.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.sales\_agreement.type | Type of sales agreement characteristic. Value is always `reference`.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.sales\_agreement.value | Value of the sales agreement characteristic.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.sales\_agreement\_line | Details about the characteristic of the sales agreement line.Table: Sales Agreement Line Characteristics \[sn\_sales\_agmt\_core\_sales\_agreement\_line\_characteristic\] Data type: Object |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.sales\_agreement\_line.display\_value | Display value of the characteristic of the sales agreement line. Matches sales_agreement_line.value. Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.sales\_agreement\_line.label | Characteristic label of the sales agreement line.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.sales\_agreement\_line.name | Characteristic name of the sales agreement line.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.sales\_agreement\_line.type | Characteristic type of the sales agreement line. Value is always `reference`.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.sales\_agreement\_line.value | Characteristic value of the sales agreement line.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.sys\_created\_by | Name of the user who created the sales agreement line characteristic.Table: User \[user\] Data type: Object |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.sys\_created\_by.display\_value | Display value of the Created by field. Matches sys_created_by.value.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.sys\_created\_by.label | Label of the Created by field.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.sys\_created\_by.name | Name of the Created by field.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.sys\_created\_by.type | Type of the Created by field. Value is always `string`.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.sys\_created\_by.value | Value of the Created by field.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.sys\_created\_on | Date and time the sales agreement line characteristic was created.Data type: Object |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.sys\_created\_on.display\_value | Display value of the Created on field. Matches sys_created_on.value.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.sys\_created\_on.label | Label of the Created on field.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.sys\_created\_on.name | Name of the Created on field.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.sys\_created\_on.type | Type of the Created on field. Value is always `glide_date_time`.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.sys\_created\_on.value | Value of the Created on field.Format: YYYY-DD-MM HH:mm:ss Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.sys\_id | Sys\_id of the sales agreement line characteristic.Table: Sales Agreement Line Characteristics \[sn\_sales\_agmt\_core\_sales\_agreement\_line\_characteristic\] Data type: Object |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.sys\_id.display\_value | Display value of the characteristic sys_id. Matches sys_id.value.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.sys\_id.label | Label of the characteristic sys\_id.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.sys\_id.name | Name of the characteristic sys\_id.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.sys\_id.type | Type of the characteristic sys\_id. Value is always `string`.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.sys\_id.id | Value of the characteristic sys\_id.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.sys\_updated\_by | Name of the user who last updated the sales agreement line characteristic.Table: User \[user\] Data type: Object |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.sys\_updated\_by.display\_value | Display value of the user who updated the characteristic of the sales agreement line item. Matches sys_created_by.value.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.sys\_updated\_by.label | Label of the user who updated the characteristic.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.sys\_updated\_by.name | Name of the user who updated the characteristic.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.sys\_updated\_by.type | Type of the user who updated the characteristic. Value is always `string`.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.sys\_updated\_by.value | Value of user who updated the characteristic.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.sys\_updated\_on | Date and time the sales agreement line characteristic was last updated.Data type: Object |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.sys\_updated\_on.display\_value | Display value of the updated date. Matches updated_on.value.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.sys\_updated\_on.label | Label of the updated date.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.sys\_updated\_on.name | Name of the updated date.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.sys\_updated\_on.type | Type of the updated date. Value is always `glide_date_time`.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.sys\_updated\_on.value | Value of the updated date.Format: YYYY-DD-MM HH:mm:ss Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.type | Type of characteristic in the sales agreement line characteristic.Table: Sales Agreement Line Characteristics \[sn\_sales\_agmt\_core\_sales\_agreement\_line\_characteristic\] Data type: Object |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.type.display\_value | Display value of the characteristic type. Matches type.value.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.type.label | Label of the characteristic type.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.type.name | Name of the characteristic type.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.type.type | Type of the characteristic type. Value is always `string`.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.type.value | Value of the characteristic type.Possible values: - coverage - coverage and usage Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.value | Value of the characteristic on the sales agreement line.Table: Sales Agreement Line Characteristics \[sn\_sales\_agmt\_core\_sales\_agreement\_line\_characteristic\] Data type: Object |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.value.display\_value | Display value of the characteristic. Matches type.value.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.value.label | Label of the characteristic value.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.value.name | Name of the characteristic value.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.value.type | Type of the characteristic value. Value is always `string`.Data type: String |
| sales\_agreement\_lines.sales\_agreement\_line\_characteristics.value.value | Value of the characteristic.Data type: String |
| sales\_agreement\_lines.short\_description | Brief details describing the sales agreement line.Table: Sales Agreement Line \[sn\_sales\_agmt\_core\_sales\_agreement\_line\] Data type: Object |
| sales\_agreement\_lines.short\_description.display\_value | Display value of the short description. Matches short_description.value.Data type: String |
| sales\_agreement\_lines.short\_description.label | Label of the short description.Data type: String |
| sales\_agreement\_lines.short\_description.name | Name of the short description.Data type: String |
| sales\_agreement\_lines.short\_description.type | Type of short description. Always of type `string`.Data type: String |
| sales\_agreement\_lines.short\_description.value | Value of the short description.Data type: String |
| sales\_agreement\_lines.start\_date | Start date of the sales agreement line.Data type: Object |
| sales\_agreement\_lines.start\_date.display\_value | Display value of the sales agreement line's start date. Matches start_date.value.Data type: String |
| sales\_agreement\_lines.start\_date.label | Label of the sales agreement line's start date.Data type: String |
| sales\_agreement\_lines.start\_date.name | Name of the sales agreement line's start date.Data type: String |
| sales\_agreement\_lines.start\_date.type | Type of sales agreement line's start date. Value is always `glide_date_time`.Data type: String |
| sales\_agreement\_lines.start\_date.value | Value of the sales agreement line's start date.Format: YYYY-MM-DD Data type: String |
| sales\_agreement\_lines.state | Valid state of the sales agreement line.Table: Sales Agreement Line \[sn\_sales\_agmt\_core\_sales\_agreement\_line\] Data type: Object |
| sales\_agreement\_lines.state.display\_value | Display value of the state. Matches state.value.Data type: String |
| sales\_agreement\_lines.state.label | Label of the state.Data type: String |
| sales\_agreement\_lines.state.name | Name of the state.Data type: String |
| sales\_agreement\_lines.state.type | Type of state. Value is always `string`.Data type: String |
| sales\_agreement\_lines.state.value | Value of the state.Possible values: - pending\_activation - suspended - active - expired - cancelled Data type: String |
| sales\_agreement\_lines.sys\_created\_by | Name of the user who created the sales agreement line.Table: User \[user\] Data type: Object |
| sales\_agreement\_lines.sys\_created\_by.display\_value | Display value of the user who created the sales agreement line. Matches sys_created_by.value.Data type: String |
| sales\_agreement\_lines.sys\_created\_by.label | Label of the user who created the sales agreement line.Data type: String |
| sales\_agreement\_lines.sys\_created\_by.name | Name of the user who created the sales agreement line.Data type: String |
| sales\_agreement\_lines.sys\_created\_by.type | Type of the Created by field. Value is always `string`.Data type: String |
| sales\_agreement\_lines.sys\_created\_by.value | Value of the user who created the sales agreement line.Data type: String |
| sales\_agreement\_lines.sys\_created\_on | Date and time the sales agreement line record was created.Data type: Object |
| sales\_agreement\_lines.sys\_created\_on.display\_value | Display value of the creation date of the sales agreement line record. Matches sys_created_on.value.Data type: String |
| sales\_agreement\_lines.sys\_created\_on.label | Label of the creation date of the sales agreement line record.Data type: String |
| sales\_agreement\_lines.sys\_created\_on.name | Name of the creation date of the sales agreement line record.Data type: String |
| sales\_agreement\_lines.sys\_created\_on.type | Type of the creation date of the sales agreement line record. Value is always `glide_date_time`.Data type: String |
| sales\_agreement\_lines.sys\_created\_on.value | Value of the creation date of the sales agreement line record.Format: YYYY-MM-DD HH:mm:ss Data type: String |
| sales\_agreement\_lines.sys\_id | Sys\_id of the sales agreement line record .Table: Sales Agreement Line \[sn\_sales\_agmt\_core\_sales\_agreement\_line\] Data type: Object |
| sales\_agreement\_lines.sys\_id.displayValue | Display value of the sys_id of the sales agreement line record . Matches sys_id.value.Data type: String |
| sales\_agreement\_lines.sys\_id.label | Automatically-generated name or label of the sales agreement line record sys\_id.Data type: String |
| sales\_agreement\_lines.sys\_id.type | Type of sys\_id of the sales agreement line record . Value is always `string`.Data type: String |
| sales\_agreement\_lines.sys\_id.value | Sys\_id number assigned to the sales agreement line record .Data type: String |
| sales\_agreement\_lines.sys\_updated\_by | Name of the user who last updated the sales agreement line.Table: User \[user\] Data type: Object |
| sales\_agreement\_lines.sys\_updated\_by.display\_value | Display value of the user who updated the sales agreement line. Matches sys_updated_by.value.Data type: String |
| sales\_agreement\_lines.sys\_updated\_by.label | Label of the user who updated the sales agreement line.Data type: String |
| sales\_agreement\_lines.sys\_updated\_by.name | Name of the user who updated the sales agreement line.Data type: String |
| sales\_agreement\_lines.sys\_updated\_by.type | Type of the user who updated the sales agreement line. Value is always `string`.Data type: String |
| sales\_agreement\_lines.sys\_updated\_by.value | Value of the user who updated the sales agreement line.Data type: String |
| sales\_agreement\_lines.sys\_updated\_on | Date and time the sales agreement line record was last updated.Data type: Object |
| sales\_agreement\_lines.sys\_updated\_on.display\_value | The display value of the updated date and time on the sales agreement line. Matches sys_updated_on.value.Data type: String |
| sales\_agreement\_lines.sys\_updated\_on.label | Label of the updated date and time on the sales agreement lineData type: String |
| sales\_agreement\_lines.sys\_updated\_on.name | Name of the updated date and time on the sales agreement lineData type: String |
| sales\_agreement\_lines.sys\_updated\_on.type | Type of the updated date and time on the sales agreement line. Value is always `glide_date_time`.Data type: String |
| sales\_agreement\_lines.sys\_updated\_on.value | Value of the updated date and time on the sales agreement lineFormat: YYYY-MM-DD HH:mm:ss Data type: String |
| sales\_agreement\_lines.top\_sales\_agreement\_line | Information about the top sales agreement line.Table: Sales Agreement Line \[sn\_sales\_agmt\_core\_sales\_agreement\_line\] Data type: Object |
| sales\_agreement\_lines.top\_sales\_agreement\_line.display\_value | Display value of the top sales agreement line. Matches top_sales_agreement_line.value.Data type: String |
| sales\_agreement\_lines.top\_sales\_agreement\_line.label | Label of the top sales agreement line.Data type: String |
| sales\_agreement\_lines.top\_sales\_agreement\_line.name | Name the top sales agreement line.Data type: String |
| sales\_agreement\_lines.top\_sales\_agreement\_line.type | Type of the top sales agreement line. Value is always `reference`.Data type: String |
| sales\_agreement\_lines.top\_sales\_agreement\_line.value | Value of the top sales agreement line.Data type: String |
| sales\_agreement\_lines.total\_one\_time\_price | Total one-time charges to be paid for the product or service.Table: Sales Agreement Line \[sn\_sales\_agmt\_core\_sales\_agreement\_line\] Data type: Object |
| sales\_agreement\_lines.total\_one\_time\_price.display\_value | Display value of the total one time price. Matches total_one_time_price.value.Data type: String |
| sales\_agreement\_lines.total\_one\_time\_price.label | Label of the total one time price.Data type: String |
| sales\_agreement\_lines.total\_one\_time\_price.name | Name of the total one time price.Data type: String |
| sales\_agreement\_lines.total\_one\_time\_price.type | Type of the total one time price. Value is always `decimal`.Data type: String |
| sales\_agreement\_lines.total\_one\_time\_price.value | Value of the total one time price.Data type: String represented as a number \(currency\) |
| sales\_agreement\_lines.total\_recurring\_price | Total recurring price for the product associated with the sales agreement line.Table: Sales Agreement Line \[sn\_sales\_agmt\_core\_sales\_agreement\_line\] Data type: Object |
| sales\_agreement\_lines.total\_recurring\_price.display\_value | Display value of the total one time price. Matches total_recurring_price.value.Data type: String |
| sales\_agreement\_lines.total\_recurring\_price.label | Label of the total recurring price.Data type: String |
| sales\_agreement\_lines.total\_recurring\_price.name | Name of the total recurring price.Data type: String |
| sales\_agreement\_lines.total\_recurring\_price.type | Type of the total recurring price. Value is always `decimal`.Data type: String |
| sales\_agreement\_lines.total\_recurring\_price.value | Value of the total recurring price.Data type: String represented as a number \(currency\) |
| sales\_agreement\_lines.unit\_net\_price | The price for each unit within the sales agreement line.Table: Sales Agreement Line \[sn\_sales\_agmt\_core\_sales\_agreement\_line\] Data type: Object |
| sales\_agreement\_lines.unit\_net\_price | Display value of the unit net price. Matches unit_net_price.value.Data type: String |
| sales\_agreement\_lines.unit\_net\_price | Label of the unit net price.Data type: String |
| sales\_agreement\_lines.unit\_net\_price | Name of the unit net price.Data type: String |
| sales\_agreement\_lines.unit\_net\_price | Type of the unit net price. Value is always `decimal`.Data type: String |
| sales\_agreement\_lines.unit\_net\_price | Value of the unit net price.Data type: String represented as a number \(currency\) |
| sales\_agreement\_lines.unit\_of\_measurement | Unit of measurement of the sales agreement line.Table: Unit of measures \[sn\_prd\_pm\_uom\_list\] Data type: Object |
| sales\_agreement\_lines.unit\_of\_measurement.display\_value | Display value of the unit of measurement. Matches unit_of_measurement.value.Data type: String |
| sales\_agreement\_lines.unit\_of\_measurement.label | Label of the unit of measurement.Data type: String |
| sales\_agreement\_lines.unit\_of\_measurement.name | Name of the unit of measurement.Data type: String |
| sales\_agreement\_lines.unit\_of\_measurement.type | Type of the unit of measurement. Value is always `reference`.Data type: String |
| sales\_agreement\_lines.unit\_of\_measurement.value | Value of the unit of measurement. For example, `bundle` or `each`.Data type: String |
| shipping\_location | Shipping address details on the sales agreement.Table: Location \[location\] Data type: Object |
| shipping\_location.display\_value | Display value of the shipping location.Data type: String |
| shipping\_location.label | Label of the shipping location.Data type: String |
| shipping\_location.name | Name of the shipping location.Data type: String |
| shipping\_location.type | Type of shipping location. Value is always `reference`.Data type: String |
| shipping\_location.value | Value of the shipping location. For example, an address.Data type: String |
| short\_description | Brief details describing the sales agreement.Table: Sales Agreement \[sn\_sales\_agmt\_core\_sales\_agreement\] Data type: Object |
| short\_description.display\_value | Display value of the short description. Matches short_description.value.Data type: String |
| short\_description.label | Label of the short description.Data type: String |
| short\_description.name | Name of the short description.Data type: String |
| short\_description.type | Type of short description. Always of type `string`.Data type: String |
| short\_description.value | Value of the short description.Data type: String |
| starts | Start date of the sales agreement.Data type: Object |
| starts.display\_value | Display value of the start date. Matches start.value.Data type: String |
| starts.label | Label of the start date.Data type: String |
| starts.name | Name of the start date.Data type: String |
| starts.type | Type of start date. Value is always `glide_date_time`Data type: String |
| starts.value | Value of the start date.Format: YYYY-MM-DD HH:mm:ss Data type: String |
| state | State of the sales agreement.Table: Sales Agreement \[sn\_sales\_agmt\_core\_sales\_agreement\] Data type: Object |
| state.display\_value | Display value of the state. Matches state.value.Data type: String |
| state.lable | Label of the state.Data type: String |
| state.name | Name of the state.Data type: String |
| state.type | Type of state. Value is always `string`.Data type: String |
| state.value | Value of the state.Possible values: - active - cancelled - draft - expired Data type: String |
| sys\_created\_by | Name of the user who created the sales agreement.Table: User \[user\] Data type: Object |
| sys\_created\_by.display\_value | Display value of the user who created the sales agreement. Matches sys_created_by.value.Data type: String |
| sys\_created\_by.label | Label of the user who created the sales agreement.Data type: String |
| sys\_created\_by.name | Name of the user who created the sales agreement.Data type: String |
| sys\_created\_by.type | Type of the user who created the sales agreement. Value is always `string`.Data type: String |
| sys\_created\_by.value | Value of the user who created the sales agreement.Data type: String |
| sys\_created\_on | Details about the date and time that the sales agreement was created.Data type: Object |
| sys\_created\_on.display\_value | Display value of the creation date and time. Matches sys_created_on.value.Data type: String |
| sys\_created\_on.label | Label of the creation date and time.Data type: String |
| sys\_created\_on.name | Name of the creation date and time.Data type: String |
| sys\_created\_on.type | Type of the creation date and time. Value is always `string`.Data type: String |
| sys\_created\_on.value | Value of the creation date and time.Data type: String |
| sys\_id | Sys\_id of the newly created sales agreement.Table: Sales Agreement \[sn\_sales\_agmt\_core\_sales\_agreement\] Data type: Object |
| sys\_id.displayValue | Display value of the unique sys_id value. Matches sys_id.value.Data type: String |
| sys\_id.label | Automatically generated name or label of the sys\_id.Data type: String |
| sys\_id.type | Type of sys\_id given to the sales agreement. Value is always `GUID`.Data type: String |
| sys\_id.value | Sys\_id number assigned to the new sales agreement.Data type: String |
| sys\_updated\_by | Name of the user who last updated the sales agreement.Table: User \[user\] Data type: Object |
| sys\_updated\_by.display\_value | Display value of the user who updated the sales agreement. Matches sys_updated_by.value.Data type: String |
| sys\_updated\_by.label | Label of the user who updated the sales agreement.Data type: String |
| sys\_updated\_by.name | Name of the user who updated the sales agreement.Data type: String |
| sys\_updated\_by.type | Type of the user who updated the sales agreement. Value is always `string`.Data type: String |
| sys\_updated\_by.value | Value of the user who updated the sales agreement.Data type: String |
| sys\_updated\_on | Details about the date and time that the sales agreement was updated.Data type: Object |
| sys\_updated\_on.display\_value | Date and time value of the updated sales agreement. Matches sys_updated_on.value.Format: YYYY-MM-DD HH:mm:ss Data type: String |
| sys\_updated\_on.label | Label of the updated sales agreement.Data type: String |
| sys\_updated\_on.name | Name of the updated sales agreement.Data type: String |
| sys\_updated\_on.type | Type of the updated sales agreement. Value is always `glide_date_time`.Data type: String |
| sys\_updated\_on.value | Date and time value of the updated sales agreement.Format: YYYY-MM-DD HH:mm:ss Data type: String |
cURL request
The following example creates a new sales agreement with details such as sales agreement characteristics and price adjustments. As a result, the new sales agreement is returned and added as a new record in Sales Agreement [sn_sales_agmt_core_sales_agreement] table.
curl "https://instance.service-now.com//api/sn_sales_agmt_core/salesagreement" \
--request POST \
--header "Accept:application/json" \
--header "Content-Type:application/json" \
--data "{
"state": "active",
"account": "86837a386f0331003b3c498f5d3ee4ca",
"starts": "2024-01-01",
"ends": "2024-12-31",
"short_description": "This is a Sa created by API",
"quote": "04ba9004f11f3110f8777d7194f166f6",
"default_price_list": "96257fe1b5165610f87786d3c28843e9",
"contact": "60beb5e7d7600200e5982cf65e6103ad",
"currency": "USD",
"billing_location": "25ab9c4d0a0a0bb300f7dabdc0ca7c1c",
"shipping_location": "25ab9c4d0a0a0bb300f7dabdc0ca7c1c",
"sales_agreement_lines": [
{
"state": "active",
"start_date": "2024-11-10",
"end_date": "2024-12-31",
"short_description": "this is sample sa line 1",
"quantity": 2,
"quote_line": "",
"price_list": "96257fe1b5165610f87786d3c28843e9",
"product_offering": "26d07c3211707110f877366201dea60c",
"product_specification": "",
"product_model": "",
"unit_of_measurement": "cb2795d553020110286eddeeff7b12ff",
"unit_net_price": "USD;400.00",
"total_one_time_price": "USD;400.00",
"shipping_location": "25ab9c4d0a0a0bb300f7dabdc0ca7c1c",
"child_sales_agreement_lines": [
{
"state": "active",
"start_date": "2024-11-11",
"end_date": "2024-12-31",
"short_description": "this is sample child sa line 1",
"quantity": 2,
"quote_line": "",
"price_list": "96257fe1b5165610f87786d3c28843e9",
"product_offering": "3f6111dfd0a63110f8770dbf976be149",
"product_specification": "",
"product_model": "",
"unit_of_measurement": "cb2795d553020110286eddeeff7b12ff",
"unit_net_price": "USD;120.00",
"total_one_time_price": "USD;120.00",
"total_recurring_price": "",
"shipping_location": "25ab9c4d0a0a0bb300f7dabdc0ca7c1c",
"sales_agreement_line_characteristics": [
{
"characteristic": "4f31999fd0a63110f8770dbf976be178",
"type": "",
"characteristic_option": "0b31999fd0a63110f8770dbf976be179",
"value": "3G"
}
],
"sales_agreement_line_adjustments": [
{
"amount": "28",
"total_amount": "28",
"quantity": 1,
"short_description": "Price adjustment",
"adjustment_value": "20",
"adjustment_source": "",
"adjustment_type": "a96c83d653dd91105c0eddeeff7b12d8",
"applicable_to": "UNIT_QTY"
}
]
}
],
"sales_agreement_line_characteristics": [
{
"characteristic": "4f31999fd0a63110f8770dbf976be178",
"type": "",
"characteristic_option": "0b31999fd0a63110f8770dbf976be179",
"value": "3G"
}
],
"sales_agreement_line_adjustments": [
{
"amount": "40",
"total_amount": "120",
"quantity": 3,
"short_description": "Price adjustment",
"adjustment_value": "10",
"adjustment_source": "AUTO",
"adjustment_type": "a96c83d653dd91105c0eddeeff7b12d8",
"applicable_to": "UNIT_QTY"
}
]
}
]
}
Response body.
"result": {
"sys_id": {
"label": "Sys ID",
"value": "eb853fe5b5165610f87786d3c2884335",
"displayValue": "eb853fe5b5165610f87786d3c2884335",
"type": "GUID"
},
"sys_created_by": {
"name": "sys_created_by",
"label": "Created by",
"value": "maint",
"display_value": "maint",
"type": "string"
},
"sys_updated_by": {
"name": "sys_updated_by",
"label": "Updated by",
"value": "maint",
"display_value": "maint",
"type": "string"
},
"sys_created_on": {
"name": "sys_created_on",
"label": "Created",
"value": "2024-12-06 06:43:51",
"display_value": "2024-12-05 22:43:51",
"type": "glide_date_time"
},
"sys_updated_on": {
"name": "sys_updated_on",
"label": "Updated",
"value": "2024-12-06 06:43:51",
"display_value": "2024-12-05 22:43:51",
"type": "glide_date_time"
},
"account": {
"name": "account",
"label": "Account",
"value": "86837a386f0331003b3c498f5d3ee4ca",
"display_value": "Boxeo",
"type": "reference"
},
"consumer": {
"name": "consumer",
"label": "Consumer",
"value": null,
"display_value": "",
"type": "reference"
},
"number": {
"name": "number",
"label": "Number",
"value": "SA0010004",
"display_value": "SA0010004",
"type": "string"
},
"state": {
"name": "state",
"label": "State",
"value": "active",
"display_value": "Active",
"type": "string"
},
"starts": {
"name": "starts",
"label": "Start date",
"value": "2024-01-01",
"display_value": "2024-01-01",
"type": "glide_date"
},
"ends": {
"name": "ends",
"label": "End date",
"value": "2024-12-31",
"display_value": "2024-12-31",
"type": "glide_date"
},
"short_description": {
"name": "short_description",
"label": "Short description",
"value": "This is a Sa created by API",
"display_value": "This is a Sa created by API",
"type": "string"
},
"currency": {
"name": "currency",
"label": "Currency",
"value": "USD",
"display_value": "USD",
"type": "reference"
},
"default_price_list": {
"name": "default_price_list",
"label": "Default price list",
"value": "96257fe1b5165610f87786d3c28843e9",
"display_value": "SA Price List",
"type": "reference"
},
"billing_location": {
"name": "billing_location",
"label": "Billing location",
"value": "25ab9c4d0a0a0bb300f7dabdc0ca7c1c",
"display_value": "100 South Charles Street, Baltimore,MD",
"type": "reference"
},
"contact": {
"name": "contact",
"label": "Contact",
"value": "60beb5e7d7600200e5982cf65e6103ad",
"display_value": "Alex Linde",
"type": "reference"
},
"shipping_location": {
"name": "shipping_location",
"label": "Shipping location",
"value": "25ab9c4d0a0a0bb300f7dabdc0ca7c1c",
"display_value": "100 South Charles Street, Baltimore,MD",
"type": "reference"
},
"quote": {
"name": "quote",
"label": "Quote",
"value": "04ba9004f11f3110f8777d7194f166f6",
"display_value": "QT0000001",
"type": "reference"
},
"sales_agreement_lines": [{
"sys_id": {
"label": "Sys ID",
"value": "af853fe5b5165610f87786d3c2884339",
"displayValue": "af853fe5b5165610f87786d3c2884339",
"type": "GUID"
},
"sys_created_by": {
"name": "sys_created_by",
"label": "Created by",
"value": "maint",
"display_value": "maint",
"type": "string"
},
"sys_updated_by": {
"name": "sys_updated_by",
"label": "Updated by",
"value": "maint",
"display_value": "maint",
"type": "string"
},
"sys_created_on": {
"name": "sys_created_on",
"label": "Created",
"value": "2024-12-06 06:43:51",
"display_value": "2024-12-05 22:43:51",
"type": "glide_date_time"
},
"sys_updated_on": {
"name": "sys_updated_on",
"label": "Updated",
"value": "2024-12-06 06:43:51",
"display_value": "2024-12-05 22:43:51",
"type": "glide_date_time"
},
"number": {
"name": "number",
"label": "Number",
"value": "SAL0010003",
"display_value": "SAL0010003",
"type": "string"
},
"sales_agreement": {
"name": "sales_agreement",
"label": "Sales agreement",
"value": "eb853fe5b5165610f87786d3c2884335",
"display_value": "SA0010004",
"type": "reference"
},
"short_description": {
"name": "short_description",
"label": "Short description",
"value": "this is sample sa line 1",
"display_value": "this is sample sa line 1",
"type": "string"
},
"start_date": {
"name": "start_date",
"label": "Start date",
"value": "2024-11-10",
"display_value": "2024-11-10",
"type": "glide_date"
},
"end_date": {
"name": "end_date",
"label": "End date",
"value": "2024-12-31",
"display_value": "2024-12-31",
"type": "glide_date"
},
"state": {
"name": "state",
"label": "State",
"value": "active",
"display_value": "Active",
"type": "string"
},
"product_offering": {
"name": "product_offering",
"label": "Product offering",
"value": "26d07c3211707110f877366201dea60c",
"display_value": "Home Automation Bundle",
"type": "reference"
},
"product_specification": {
"name": "product_specification",
"label": "Product specification",
"value": null,
"display_value": "",
"type": "reference"
},
"product_model": {
"name": "product_model",
"label": "Product model",
"value": null,
"display_value": "",
"type": "reference"
},
"price_list": {
"name": "price_list",
"label": "Price list",
"value": "96257fe1b5165610f87786d3c28843e9",
"display_value": "SA Price List",
"type": "reference"
},
"parent_line": {
"name": "parent_line",
"label": "Parent line",
"value": null,
"display_value": "",
"type": "reference"
},
"unit_net_price": {
"name": "unit_net_price",
"label": "Unit net price",
"value": "314.2315",
"display_value": "£314.2315",
"type": "currency"
},
"quantity": {
"name": "quantity",
"label": "Quantity",
"value": "2",
"display_value": "2",
"type": "decimal"
},
"unit_of_measurement": {
"name": "unit_of_measurement",
"label": "Unit of measure",
"value": "cb2795d553020110286eddeeff7b12ff",
"display_value": "Each",
"type": "reference"
},
"shipping_location": {
"name": "shipping_location",
"label": "Shipping location",
"value": "25ab9c4d0a0a0bb300f7dabdc0ca7c1c",
"display_value": "100 South Charles Street, Baltimore,MD",
"type": "reference"
},
"total_one_time_price": {
"name": "total_one_time_price",
"label": "Total one-time price",
"value": "314.2315",
"display_value": "£314.2315",
"type": "currency"
},
"total_recurring_price": {
"name": "total_recurring_price",
"label": "Total recurring price",
"value": "0",
"display_value": "£0.00",
"type": "currency"
},
"top_sales_agreement_line": {
"name": "top_sales_agreement_line",
"label": "Top sales agreement line",
"value": "af853fe5b5165610f87786d3c2884339",
"display_value": "SAL0010003",
"type": "reference"
},
"quote_line": {
"name": "quote_line",
"label": "Quote line",
"value": null,
"display_value": "",
"type": "reference"
},
"sales_agreement_line_characteristics": [{
"sys_id": {
"label": "Sys ID",
"value": "a785f329b5165610f87786d3c2884315",
"displayValue": "a785f329b5165610f87786d3c2884315",
"type": "GUID"
},
"sys_created_by": {
"name": "sys_created_by",
"label": "Created by",
"value": "maint",
"display_value": "maint",
"type": "string"
},
"sys_updated_by": {
"name": "sys_updated_by",
"label": "Updated by",
"value": "maint",
"display_value": "maint",
"type": "string"
},
"sys_created_on": {
"name": "sys_created_on",
"label": "Created",
"value": "2024-12-06 06:43:51",
"display_value": "2024-12-05 22:43:51",
"type": "glide_date_time"
},
"sys_updated_on": {
"name": "sys_updated_on",
"label": "Updated",
"value": "2024-12-06 06:43:51",
"display_value": "2024-12-05 22:43:51",
"type": "glide_date_time"
},
"sales_agreement": {
"name": "sales_agreement",
"label": "Sales agreement",
"value": "eb853fe5b5165610f87786d3c2884335",
"display_value": "SA0010004",
"type": "reference"
},
"sales_agreement_line": {
"name": "sales_agreement_line",
"label": "Sales agreement line",
"value": "af853fe5b5165610f87786d3c2884339",
"display_value": "SAL0010003",
"type": "reference"
},
"characteristic": {
"name": "characteristic",
"label": "Characteristic",
"value": "4f31999fd0a63110f8770dbf976be178",
"display_value": "Connectivity Tech",
"type": "reference"
},
"type": {
"name": "type",
"label": "Type",
"value": null,
"display_value": null,
"type": "string"
},
"characteristic_option": {
"name": "characteristic_option",
"label": "Characteristic option",
"value": "0b31999fd0a63110f8770dbf976be179",
"display_value": "3G",
"type": "reference"
},
"value": {
"name": "value",
"label": "Value",
"value": "3G",
"display_value": "3G",
"type": "string"
}
}],
"sales_agreement_line_adjustments": [{
"sys_id": {
"label": "Sys ID",
"value": "2b85f329b5165610f87786d3c2884316",
"displayValue": "2b85f329b5165610f87786d3c2884316",
"type": "GUID"
},
"sys_created_by": {
"name": "sys_created_by",
"label": "Created by",
"value": "maint",
"display_value": "maint",
"type": "string"
},
"sys_updated_by": {
"name": "sys_updated_by",
"label": "Updated by",
"value": "maint",
"display_value": "maint",
"type": "string"
},
"sys_created_on": {
"name": "sys_created_on",
"label": "Created",
"value": "2024-12-06 06:43:51",
"display_value": "2024-12-05 22:43:51",
"type": "glide_date_time"
},
"sys_updated_on": {
"name": "sys_updated_on",
"label": "Updated",
"value": "2024-12-06 06:43:51",
"display_value": "2024-12-05 22:43:51",
"type": "glide_date_time"
},
"sales_agreement": {
"name": "sales_agreement",
"label": "Sales agreement",
"value": "eb853fe5b5165610f87786d3c2884335",
"display_value": "SA0010004",
"type": "reference"
},
"sales_agreement_line": {
"name": "sales_agreement_line",
"label": "Sales Agreement Line",
"value": "af853fe5b5165610f87786d3c2884339",
"display_value": "SAL0010003",
"type": "reference"
},
"adjustment_type": {
"name": "adjustment_type",
"label": "Adjustment type",
"value": "a96c83d653dd91105c0eddeeff7b12d8",
"display_value": "Markdown %",
"type": "reference"
},
"adjustment_source": {
"name": "adjustment_source",
"label": "Adjustment source",
"value": "AUTO",
"display_value": "Auto",
"type": "string"
},
"adjustment_value": {
"name": "adjustment_value",
"label": "Adjustment value",
"value": "10",
"display_value": "10",
"type": "decimal"
},
"applicable_to": {
"name": "applicable_to",
"label": "Applicable to",
"value": "UNIT_QTY",
"display_value": "Unit Quantity",
"type": "string"
},
"short_description": {
"name": "short_description",
"label": "Short description",
"value": "Price adjustment",
"display_value": "Price adjustment",
"type": "string"
},
"number": {
"name": "number",
"label": "Number",
"value": "SALA0010003",
"display_value": "SALA0010003",
"type": "string"
},
"quantity": {
"name": "quantity",
"label": "Quantity",
"value": "3",
"display_value": "3",
"type": "integer"
},
"total_amount": {
"name": "total_amount",
"label": "Total amount",
"value": "120",
"display_value": "£120.00",
"type": "currency"
},
"amount": {
"name": "amount",
"label": "Amount",
"value": "40",
"display_value": "£40.00",
"type": "currency"
}
}],
"child_sales_agreement_lines": [{
"sys_id": {
"label": "Sys ID",
"value": "eb85f329b5165610f87786d3c2884318",
"displayValue": "eb85f329b5165610f87786d3c2884318",
"type": "GUID"
},
"sys_created_by": {
"name": "sys_created_by",
"label": "Created by",
"value": "maint",
"display_value": "maint",
"type": "string"
},
"sys_updated_by": {
"name": "sys_updated_by",
"label": "Updated by",
"value": "maint",
"display_value": "maint",
"type": "string"
},
"sys_created_on": {
"name": "sys_created_on",
"label": "Created",
"value": "2024-12-06 06:43:51",
"display_value": "2024-12-05 22:43:51",
"type": "glide_date_time"
},
"sys_updated_on": {
"name": "sys_updated_on",
"label": "Updated",
"value": "2024-12-06 06:43:51",
"display_value": "2024-12-05 22:43:51",
"type": "glide_date_time"
},
"number": {
"name": "number",
"label": "Number",
"value": "SAL0010004",
"display_value": "SAL0010004",
"type": "string"
},
"sales_agreement": {
"name": "sales_agreement",
"label": "Sales agreement",
"value": "eb853fe5b5165610f87786d3c2884335",
"display_value": "SA0010004",
"type": "reference"
},
"short_description": {
"name": "short_description",
"label": "Short description",
"value": "this is sample child sa line 1",
"display_value": "this is sample child sa line 1",
"type": "string"
},
"start_date": {
"name": "start_date",
"label": "Start date",
"value": "2024-11-11",
"display_value": "2024-11-11",
"type": "glide_date"
},
"end_date": {
"name": "end_date",
"label": "End date",
"value": "2024-12-31",
"display_value": "2024-12-31",
"type": "glide_date"
},
"state": {
"name": "state",
"label": "State",
"value": "active",
"display_value": "Active",
"type": "string"
},
"product_offering": {
"name": "product_offering",
"label": "Product offering",
"value": "3f6111dfd0a63110f8770dbf976be149",
"display_value": "Home Automation Hub",
"type": "reference"
},
"product_specification": {
"name": "product_specification",
"label": "Product specification",
"value": null,
"display_value": "",
"type": "reference"
},
"product_model": {
"name": "product_model",
"label": "Product model",
"value": null,
"display_value": "",
"type": "reference"
},
"price_list": {
"name": "price_list",
"label": "Price list",
"value": "96257fe1b5165610f87786d3c28843e9",
"display_value": "SA Price List",
"type": "reference"
},
"parent_line": {
"name": "parent_line",
"label": "Parent line",
"value": "af853fe5b5165610f87786d3c2884339",
"display_value": "SAL0010003",
"type": "reference"
},
"unit_net_price": {
"name": "unit_net_price",
"label": "Unit net price",
"value": "94.2694",
"display_value": "£94.2694",
"type": "currency"
},
"quantity": {
"name": "quantity",
"label": "Quantity",
"value": "2",
"display_value": "2",
"type": "decimal"
},
"unit_of_measurement": {
"name": "unit_of_measurement",
"label": "Unit of measure",
"value": "cb2795d553020110286eddeeff7b12ff",
"display_value": "Each",
"type": "reference"
},
"shipping_location": {
"name": "shipping_location",
"label": "Shipping location",
"value": "25ab9c4d0a0a0bb300f7dabdc0ca7c1c",
"display_value": "100 South Charles Street, Baltimore,MD",
"type": "reference"
},
"total_one_time_price": {
"name": "total_one_time_price",
"label": "Total one-time price",
"value": "94.2694",
"display_value": "£94.2694",
"type": "currency"
},
"total_recurring_price": {
"name": "total_recurring_price",
"label": "Total recurring price",
"value": "0",
"display_value": "£0.00",
"type": "currency"
},
"top_sales_agreement_line": {
"name": "top_sales_agreement_line",
"label": "Top sales agreement line",
"value": "af853fe5b5165610f87786d3c2884339",
"display_value": "SAL0010003",
"type": "reference"
},
"quote_line": {
"name": "quote_line",
"label": "Quote line",
"value": null,
"display_value": "",
"type": "reference"
},
"sales_agreement_line_characteristics": [{
"sys_id": {
"label": "Sys ID",
"value": "e385f329b5165610f87786d3c288431a",
"displayValue": "e385f329b5165610f87786d3c288431a",
"type": "GUID"
},
"sys_created_by": {
"name": "sys_created_by",
"label": "Created by",
"value": "maint",
"display_value": "maint",
"type": "string"
},
"sys_updated_by": {
"name": "sys_updated_by",
"label": "Updated by",
"value": "maint",
"display_value": "maint",
"type": "string"
},
"sys_created_on": {
"name": "sys_created_on",
"label": "Created",
"value": "2024-12-06 06:43:51",
"display_value": "2024-12-05 22:43:51",
"type": "glide_date_time"
},
"sys_updated_on": {
"name": "sys_updated_on",
"label": "Updated",
"value": "2024-12-06 06:43:51",
"display_value": "2024-12-05 22:43:51",
"type": "glide_date_time"
},
"sales_agreement": {
"name": "sales_agreement",
"label": "Sales agreement",
"value": "eb853fe5b5165610f87786d3c2884335",
"display_value": "SA0010004",
"type": "reference"
},
"sales_agreement_line": {
"name": "sales_agreement_line",
"label": "Sales agreement line",
"value": "eb85f329b5165610f87786d3c2884318",
"display_value": "SAL0010004",
"type": "reference"
},
"characteristic": {
"name": "characteristic",
"label": "Characteristic",
"value": "4f31999fd0a63110f8770dbf976be178",
"display_value": "Connectivity Tech",
"type": "reference"
},
"type": {
"name": "type",
"label": "Type",
"value": null,
"display_value": null,
"type": "string"
},
"characteristic_option": {
"name": "characteristic_option",
"label": "Characteristic option",
"value": "0b31999fd0a63110f8770dbf976be179",
"display_value": "3G",
"type": "reference"
},
"value": {
"name": "value",
"label": "Value",
"value": "3G",
"display_value": "3G",
"type": "string"
}
}],
"sales_agreement_line_adjustments": [{
"sys_id": {
"label": "Sys ID",
"value": "2385f329b5165610f87786d3c288431b",
"displayValue": "2385f329b5165610f87786d3c288431b",
"type": "GUID"
},
"sys_created_by": {
"name": "sys_created_by",
"label": "Created by",
"value": "maint",
"display_value": "maint",
"type": "string"
},
"sys_updated_by": {
"name": "sys_updated_by",
"label": "Updated by",
"value": "maint",
"display_value": "maint",
"type": "string"
},
"sys_created_on": {
"name": "sys_created_on",
"label": "Created",
"value": "2024-12-06 06:43:51",
"display_value": "2024-12-05 22:43:51",
"type": "glide_date_time"
},
"sys_updated_on": {
"name": "sys_updated_on",
"label": "Updated",
"value": "2024-12-06 06:43:51",
"display_value": "2024-12-05 22:43:51",
"type": "glide_date_time"
},
"sales_agreement": {
"name": "sales_agreement",
"label": "Sales agreement",
"value": "eb853fe5b5165610f87786d3c2884335",
"display_value": "SA0010004",
"type": "reference"
},
"sales_agreement_line": {
"name": "sales_agreement_line",
"label": "Sales Agreement Line",
"value": "eb85f329b5165610f87786d3c2884318",
"display_value": "SAL0010004",
"type": "reference"
},
"adjustment_type": {
"name": "adjustment_type",
"label": "Adjustment type",
"value": "a96c83d653dd91105c0eddeeff7b12d8",
"display_value": "Markdown %",
"type": "reference"
},
"adjustment_source": {
"name": "adjustment_source",
"label": "Adjustment source",
"value": "MANUAL",
"display_value": "Manual",
"type": "string"
},
"adjustment_value": {
"name": "adjustment_value",
"label": "Adjustment value",
"value": "20",
"display_value": "20",
"type": "decimal"
},
"applicable_to": {
"name": "applicable_to",
"label": "Applicable to",
"value": "UNIT_QTY",
"display_value": "Unit Quantity",
"type": "string"
},
"short_description": {
"name": "short_description",
"label": "Short description",
"value": "Price adjustment",
"display_value": "Price adjustment",
"type": "string"
},
"number": {
"name": "number",
"label": "Number",
"value": "SALA0010004",
"display_value": "SALA0010004",
"type": "string"
},
"quantity": {
"name": "quantity",
"label": "Quantity",
"value": "1",
"display_value": "1",
"type": "integer"
},
"total_amount": {
"name": "total_amount",
"label": "Total amount",