POST Event/GetAutoStretch
Gets a list of Auto Stretch Percentages for specified branch.
Request Information
URI Parameters
None.
Body Parameters
ApiAutoStretchRequestFilter| Name | Description | Type | Additional information |
|---|---|---|---|
| branchID |
Gets or sets the branch identifier. |
integer |
None. |
| userID |
Gets or sets the user identifier. |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"branchID": 1,
"userID": 2
}
application/xml, text/xml
Sample:
<ApiAutoStretchRequestFilter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SyX.Online.API.Models"> <userID>2</userID> <branchID>1</branchID> </ApiAutoStretchRequestFilter>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ApiAutoStretchResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| ResponseObject |
Gets or sets the response object. |
Collection of ApiAutoStretch |
None. |
| ResponseType |
Gets or sets the type of the response. |
integer |
None. |
| ResponseMessage |
Gets or sets the response message. |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"ResponseObject": [
{
"SportID": 1,
"NumberOfLegs": 64,
"StretchPercentage": 3.0
},
{
"SportID": 1,
"NumberOfLegs": 64,
"StretchPercentage": 3.0
}
],
"ResponseType": 1,
"ResponseMessage": "sample string 2"
}
application/xml, text/xml
Sample:
<ApiAutoStretchResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SyX.Online.API.Models">
<ResponseMessage>sample string 2</ResponseMessage>
<ResponseType>1</ResponseType>
<ResponseObject>
<ApiAutoStretch>
<NumberOfLegs>64</NumberOfLegs>
<SportID>1</SportID>
<StretchPercentage>3</StretchPercentage>
</ApiAutoStretch>
<ApiAutoStretch>
<NumberOfLegs>64</NumberOfLegs>
<SportID>1</SportID>
<StretchPercentage>3</StretchPercentage>
</ApiAutoStretch>
</ResponseObject>
</ApiAutoStretchResponse>