GET api/WebApiOdata/GetAll301Redirections?providerId={providerId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
providerId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of SeoRedirectionsViewModelName | Description | Type | Additional information |
---|---|---|---|
RedirectionID | integer |
None. |
|
OldURL | string |
None. |
|
NewURL | string |
None. |
|
RedirectTypeID | integer |
None. |
|
Status | boolean |
None. |
|
ProviderID | integer |
None. |
|
RedirectType | string |
None. |
Response Formats
application/json, text/json, text/html
Sample:
[ { "RedirectionID": 1, "OldURL": "sample string 2", "NewURL": "sample string 3", "RedirectTypeID": 4, "Status": true, "ProviderID": 6, "RedirectType": "sample string 7" }, { "RedirectionID": 1, "OldURL": "sample string 2", "NewURL": "sample string 3", "RedirectTypeID": 4, "Status": true, "ProviderID": 6, "RedirectType": "sample string 7" } ]
application/xml, text/xml
Sample:
<ArrayOfSeoRedirectionsViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SellersCommerce.ViewModels.Settings"> <SeoRedirectionsViewModel> <_x003C_NewURL_x003E_k__BackingField>sample string 3</_x003C_NewURL_x003E_k__BackingField> <_x003C_OldURL_x003E_k__BackingField>sample string 2</_x003C_OldURL_x003E_k__BackingField> <_x003C_ProviderID_x003E_k__BackingField>6</_x003C_ProviderID_x003E_k__BackingField> <_x003C_RedirectTypeID_x003E_k__BackingField>4</_x003C_RedirectTypeID_x003E_k__BackingField> <_x003C_RedirectType_x003E_k__BackingField>sample string 7</_x003C_RedirectType_x003E_k__BackingField> <_x003C_RedirectionID_x003E_k__BackingField>1</_x003C_RedirectionID_x003E_k__BackingField> <_x003C_Status_x003E_k__BackingField>true</_x003C_Status_x003E_k__BackingField> </SeoRedirectionsViewModel> <SeoRedirectionsViewModel> <_x003C_NewURL_x003E_k__BackingField>sample string 3</_x003C_NewURL_x003E_k__BackingField> <_x003C_OldURL_x003E_k__BackingField>sample string 2</_x003C_OldURL_x003E_k__BackingField> <_x003C_ProviderID_x003E_k__BackingField>6</_x003C_ProviderID_x003E_k__BackingField> <_x003C_RedirectTypeID_x003E_k__BackingField>4</_x003C_RedirectTypeID_x003E_k__BackingField> <_x003C_RedirectType_x003E_k__BackingField>sample string 7</_x003C_RedirectType_x003E_k__BackingField> <_x003C_RedirectionID_x003E_k__BackingField>1</_x003C_RedirectionID_x003E_k__BackingField> <_x003C_Status_x003E_k__BackingField>true</_x003C_Status_x003E_k__BackingField> </SeoRedirectionsViewModel> </ArrayOfSeoRedirectionsViewModel>