GET api/WebApiOdata/GetAllIpSecurityRules?providerId={providerId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
providerId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of IPSecurityRuleName | Description | Type | Additional information |
---|---|---|---|
ProviderID | integer |
None. |
|
IPRangeBegin | string |
None. |
|
IPRangeEnd | string |
None. |
|
AllowOrBlock | boolean |
None. |
|
AppliesTo | integer |
None. |
|
Deleted | boolean |
None. |
|
Status | boolean |
None. |
|
CreatedBy | integer |
None. |
|
CreatedDate | date |
None. |
|
ModifiedBy | integer |
None. |
|
ModifiedDate | date |
None. |
|
AppliesToDescription | string |
None. |
|
Id | integer |
None. |
Response Formats
application/json, text/json, text/html
Sample:
[ { "ProviderID": 1, "IPRangeBegin": "sample string 2", "IPRangeEnd": "sample string 3", "AllowOrBlock": true, "AppliesTo": 5, "Deleted": true, "Status": true, "CreatedBy": 8, "CreatedDate": "1/22/2025", "ModifiedBy": 1, "ModifiedDate": "1/22/2025", "AppliesToDescription": "sample string 10", "Id": 11 }, { "ProviderID": 1, "IPRangeBegin": "sample string 2", "IPRangeEnd": "sample string 3", "AllowOrBlock": true, "AppliesTo": 5, "Deleted": true, "Status": true, "CreatedBy": 8, "CreatedDate": "1/22/2025", "ModifiedBy": 1, "ModifiedDate": "1/22/2025", "AppliesToDescription": "sample string 10", "Id": 11 } ]
application/xml, text/xml
Sample:
<ArrayOfIPSecurityRule xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SellersCommerce.Entities.Commerce"> <IPSecurityRule> <_x003C_Id_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/SellersCommerce.Entities">11</_x003C_Id_x003E_k__BackingField> <_x003C_AllowOrBlock_x003E_k__BackingField>true</_x003C_AllowOrBlock_x003E_k__BackingField> <_x003C_AppliesToDescription_x003E_k__BackingField>sample string 10</_x003C_AppliesToDescription_x003E_k__BackingField> <_x003C_AppliesTo_x003E_k__BackingField>5</_x003C_AppliesTo_x003E_k__BackingField> <_x003C_CreatedBy_x003E_k__BackingField>8</_x003C_CreatedBy_x003E_k__BackingField> <_x003C_CreatedDate_x003E_k__BackingField>2025-01-22T13:59:09.4550457+00:00</_x003C_CreatedDate_x003E_k__BackingField> <_x003C_Deleted_x003E_k__BackingField>true</_x003C_Deleted_x003E_k__BackingField> <_x003C_IPRangeBegin_x003E_k__BackingField>sample string 2</_x003C_IPRangeBegin_x003E_k__BackingField> <_x003C_IPRangeEnd_x003E_k__BackingField>sample string 3</_x003C_IPRangeEnd_x003E_k__BackingField> <_x003C_ModifiedBy_x003E_k__BackingField>1</_x003C_ModifiedBy_x003E_k__BackingField> <_x003C_ModifiedDate_x003E_k__BackingField>2025-01-22T13:59:09.4550457+00:00</_x003C_ModifiedDate_x003E_k__BackingField> <_x003C_ProviderID_x003E_k__BackingField>1</_x003C_ProviderID_x003E_k__BackingField> <_x003C_Status_x003E_k__BackingField>true</_x003C_Status_x003E_k__BackingField> </IPSecurityRule> <IPSecurityRule> <_x003C_Id_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/SellersCommerce.Entities">11</_x003C_Id_x003E_k__BackingField> <_x003C_AllowOrBlock_x003E_k__BackingField>true</_x003C_AllowOrBlock_x003E_k__BackingField> <_x003C_AppliesToDescription_x003E_k__BackingField>sample string 10</_x003C_AppliesToDescription_x003E_k__BackingField> <_x003C_AppliesTo_x003E_k__BackingField>5</_x003C_AppliesTo_x003E_k__BackingField> <_x003C_CreatedBy_x003E_k__BackingField>8</_x003C_CreatedBy_x003E_k__BackingField> <_x003C_CreatedDate_x003E_k__BackingField>2025-01-22T13:59:09.4550457+00:00</_x003C_CreatedDate_x003E_k__BackingField> <_x003C_Deleted_x003E_k__BackingField>true</_x003C_Deleted_x003E_k__BackingField> <_x003C_IPRangeBegin_x003E_k__BackingField>sample string 2</_x003C_IPRangeBegin_x003E_k__BackingField> <_x003C_IPRangeEnd_x003E_k__BackingField>sample string 3</_x003C_IPRangeEnd_x003E_k__BackingField> <_x003C_ModifiedBy_x003E_k__BackingField>1</_x003C_ModifiedBy_x003E_k__BackingField> <_x003C_ModifiedDate_x003E_k__BackingField>2025-01-22T13:59:09.4550457+00:00</_x003C_ModifiedDate_x003E_k__BackingField> <_x003C_ProviderID_x003E_k__BackingField>1</_x003C_ProviderID_x003E_k__BackingField> <_x003C_Status_x003E_k__BackingField>true</_x003C_Status_x003E_k__BackingField> </IPSecurityRule> </ArrayOfIPSecurityRule>