| Action: | GET | |||||||||||||||
| Method: | GET | |||||||||||||||
| URL: | /api/v1/static/matchdiscountcategory/get | |||||||||||||||
| Description: | Fetch a Static Match Discount Category record based on Identifier | |||||||||||||||
| Type | Key | DataType | Notes | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Headers | api-key | String | Your Api-Key | |||||||||||||
| Params | MatchCategoryID | Int16 | Match Discount Category Identifier | |||||||||||||
| Params | ReturnFormat | String | Json or Xml | |||||||||||||
| Return Data: | Json or XML of the Static Match Discount Category. { "MatchDiscountCategoryID": 1, "Name": "Address does not match", "Description": "Address does not match", "RequireReason": false, "Grouping": 0 } |
| ||||||||||||||
| Action: | GET ALL | |||||||||||||||
| Method: | GET | |||||||||||||||
| URL: | /api/v1/static/matchdiscountcategory/getall | |||||||||||||||
| Description: | Fetch all Static Match Discount Category records | |||||||||||||||
| Type | Key | DataType | Notes | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Headers | api-key | String | Your Api-Key | |||||||||||||
| Params | ReturnFormat | String | Json or Xml | |||||||||||||
| Return Data: | Json or XML collection of Static Match Discount Category records. [{ "MatchDiscountCategoryID": 1, "Name": "Address does not match", "Description": "Address does not match", "RequireReason": false, "Grouping": 0 }] |
| ||||||||||||||
| Action: | ADD | |||||||||||||||
| Method: | POST | |||||||||||||||
| URL: | /api/v1/static/matchdiscountcategory/add | |||||||||||||||
| Description: | Add a Static Match Discount Category and link to Client | |||||||||||||||
| Type | Key | DataType | Notes | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Headers | api-key | String | Your Api-Key | |||||||||||||
| Headers | Content-Type | String | Enter value: application/x-www-form-urlencoded | |||||||||||||
| Body | Name | String | Name | |||||||||||||
| Body | Description | String | Description | |||||||||||||
| Body | Grouping | Byte | Grouping | |||||||||||||
| Body | ActionUserID | Int16 | Identifier of the User performing action. | |||||||||||||
| Body | ReturnFormat | String | Json or Xml | |||||||||||||
| Return Data: |
Json or XML of the Static Match Discount Category record added. { "MatchDiscountCategoryID": 3, "Name": "Address does not match", "Description": "Address does not match", "Grouping": 0 } |
|
||||||||||||||
| Action: | UPDATE | |||||||||||||||
| Method: | PUT | |||||||||||||||
| URL: | /api/v1/static/matchdiscountcategory/update | |||||||||||||||
| Description: | Update an existing Static Match Discount Category | |||||||||||||||
| Type | Key | DataType | Notes | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Headers | api-key | String | Your Api-Key | |||||||||||||
| Headers | Content-Type | String | Enter value: application/x-www-form-urlencoded | |||||||||||||
| Body | MatchDiscountCategoryID | Int16 | Identifier of the Static Match Discount Category to update | |||||||||||||
| Body | Name | String | Name | |||||||||||||
| Body | Description | String | Description | |||||||||||||
| Body | RequireReason | Boolean | Require Reason? | |||||||||||||
| Body | Grouping | Byte | Grouping | |||||||||||||
| Body | ActionUserID | Int16 | Identifier of the User performing action. | |||||||||||||
| Body | ReturnFormat | String | Json or Xml | |||||||||||||
| Return Data: |
Json or XML of the Static Match Discount Category record updated. { "MatchDiscountCategoryID": 3, "Name": "Address does not match", "Description": "Address does not match", "RequireReason": false "Grouping": 0 } |
|
||||||||||||||
| Action: | DELETE | |||||||||||||||
| Method: | DELETE | |||||||||||||||
| URL: | /api/v1/static/matchdiscountcategory/delete | |||||||||||||||
| Description: | Delete an existing Static Match Discount Category link with Client and also the Static Match Discount Category if not linked to any other clients | |||||||||||||||
| Type | Key | DataType | Notes | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Headers | api-key | String | Your Api-Key | |||||||||||||
| Headers | Content-Type | String | Enter value: application/x-www-form-urlencoded | |||||||||||||
| Body | MatchDiscountCategoryID | Int16 | Identifier of the Static Match Discount Category to delete | |||||||||||||
| Body | ActionUserID | Int16 | Identifier of the User performing action. | |||||||||||||
| Body | ReturnFormat | String | Json or Xml | |||||||||||||
| Return Data: |
Json or XML of the Static Match Discount Category record deleted. { "MatchDiscountCategoryID": 3, "Name": "Address does not match", "Description": "Address does not match", "RequireReason": false "Grouping": 0 } |
|
||||||||||||||