TAG LINE
SMALL TITLE
id | "id": 16 Type: Number This is the unique numeric identifier for the AccountPackageServiceDiscount |
accountPackageId | "accountPackageId": "Hello World" Type: String Unique identifier for the associated AccountPackage object. |
serviceId | "serviceId": 16 Type: Number Unique identifier for the associated Service object. |
discountTypeId | "discountTypeId": 18 Type: Number Unique identifier for the associated DiscountType object. |
start | "start": "2005-04-11T14:56:24" Type: Date |
frequency | "frequency": 6 Type: Number |
frequencyTypeId | "frequencyTypeId": 2 Type: Number Unique identifier for the associated FrequencyType object. |
When updating an object you use the update request header with the list of properties to update. Then you need only supply the new values in the body of your request. Please note, this header can only be used with PUT or PATCH requests.
Field List:
The PATCH verb allows you to update an object. Just like a put, you only need to supply the fields that will be updated in the payload. However, a patch allows you to update many objects at once.
PATCH operations can be used as a standard API call or nested within the envelope of a DataFlow. Below you will find the child objects that can be updated as part of PATCH operations for the AccountPackageServiceDiscount object.
Standard PATCH objects:
DataFlow PATCH objects:
GET | api/v2/Account/Package/Service/Discount |
Retrieve all of the AccountPackageServiceDiscount objects. |
GET | api/v2/Account/Package/Service/Discount/Paged |
Retreive all of the AccountPackageServiceDiscount objects in a paged fashion. |
GET | api/v2/Account/Package/Service/Discount/{id:int} |
Retrieve an instance of the AccountPackageServiceDiscount object by it's ID. | |
{id:int} | Unique identifier for the AccountPackageServiceDiscount object. |