POST api/CoachAddress/Modify
Request Information
URI Parameters
None.
Body Parameters
CoachAddressViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| coachId | string |
None. |
|
| addressId | string |
None. |
|
| name | string |
Required Max length: 10 |
|
| telephone | string |
Required Max length: 11 |
|
| address | string |
Required Max length: 150 |
Request Formats
application/json, text/json
Sample:
{
"coachId": "sample string 1",
"addressId": "sample string 2",
"name": "sample string 3",
"telephone": "sample string 4",
"address": "sample string 5"
}
application/xml, text/xml
Sample:
<CoachAddressViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CoachKing.WeApp.ViewModel"> <Address>sample string 5</Address> <AddressId>sample string 2</AddressId> <CoachName>sample string 3</CoachName> <Telephone>sample string 4</Telephone> <CoachId>sample string 1</CoachId> </CoachAddressViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.