POST api/Utilities/WebCrawler
Request Information
URI Parameters
None.
Body Parameters
UtilitiesDTOName | Description | Type | Additional information |
---|---|---|---|
scheduleID | string |
None. |
|
cronExpression | string |
None. |
|
service | string |
None. |
|
contents | Collection of string |
None. |
|
mappers | Collection of Dictionary of string [key] and Object [value] |
None. |
|
indexes | Collection of integer |
None. |
|
flag | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "scheduleID": "sample string 1", "cronExpression": "sample string 2", "service": "sample string 3", "contents": [ "sample string 1", "sample string 2" ], "mappers": [ { "sample string 1": {}, "sample string 3": {} }, { "sample string 1": {}, "sample string 3": {} } ], "indexes": [ 1, 2 ], "flag": 4 }
application/xml, text/xml
Sample:
<UtilitiesDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BackgroundSchedularJobs.Models"> <contents xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </contents> <cronExpression>sample string 2</cronExpression> <flag>4</flag> <indexes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> </indexes> <mappers xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:ArrayOfKeyValueOfstringanyType> <d2p1:KeyValueOfstringanyType> <d2p1:Key>sample string 1</d2p1:Key> <d2p1:Value /> </d2p1:KeyValueOfstringanyType> <d2p1:KeyValueOfstringanyType> <d2p1:Key>sample string 3</d2p1:Key> <d2p1:Value /> </d2p1:KeyValueOfstringanyType> </d2p1:ArrayOfKeyValueOfstringanyType> <d2p1:ArrayOfKeyValueOfstringanyType> <d2p1:KeyValueOfstringanyType> <d2p1:Key>sample string 1</d2p1:Key> <d2p1:Value /> </d2p1:KeyValueOfstringanyType> <d2p1:KeyValueOfstringanyType> <d2p1:Key>sample string 3</d2p1:Key> <d2p1:Value /> </d2p1:KeyValueOfstringanyType> </d2p1:ArrayOfKeyValueOfstringanyType> </mappers> <scheduleID>sample string 1</scheduleID> <service>sample string 3</service> </UtilitiesDTO>
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.