POST,GET | /api/Branch/Search |
---|
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /api/Branch/Search HTTP/1.1
Host: api.clubmanagercentral.com
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<BranchService.SearchRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ClubManager.Api.Services">
<Location>String</Location>
<Tag>String</Tag>
</BranchService.SearchRequest>
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <ArrayOfBranchSearchResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ClubManager.Interfaces.Models.Branch"> <BranchSearchResult> <_x003C_CompanyAddress_x003E_k__BackingField>String</_x003C_CompanyAddress_x003E_k__BackingField> <_x003C_CompanyEmail_x003E_k__BackingField>String</_x003C_CompanyEmail_x003E_k__BackingField> <_x003C_CompanyOfficialName_x003E_k__BackingField>String</_x003C_CompanyOfficialName_x003E_k__BackingField> <_x003C_Fullname_x003E_k__BackingField>String</_x003C_Fullname_x003E_k__BackingField> <_x003C_MobileDomain_x003E_k__BackingField>String</_x003C_MobileDomain_x003E_k__BackingField> <_x003C_Name_x003E_k__BackingField>String</_x003C_Name_x003E_k__BackingField> <_x003C_PublicKey_x003E_k__BackingField>00000000-0000-0000-0000-000000000000</_x003C_PublicKey_x003E_k__BackingField> <_x003C_Telephone_x003E_k__BackingField>String</_x003C_Telephone_x003E_k__BackingField> <_x003C_Website_x003E_k__BackingField>String</_x003C_Website_x003E_k__BackingField> </BranchSearchResult> </ArrayOfBranchSearchResult>