Service1
Click here for a complete list of operations.
insertUniStory
Test
To test the operation using the HTTP POST protocol, click the 'Invoke' button.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /Service1.asmx HTTP/1.1
Host: newsapi.sapp.in
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://sample.com/insertUniStory"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<insertUniStory xmlns="http://sample.com/">
<story_code>string</story_code>
<head>string</head>
<subhead>string</subhead>
<story>string</story>
<status>string</status>
<usercode>string</usercode>
<deskcode>string</deskcode>
<centercode>string</centercode>
<pubcode>string</pubcode>
<languagecode>string</languagecode>
<sendtoweb>string</sendtoweb>
<byline>string</byline>
<tagname>string</tagname>
<keywords>string</keywords>
<source>string</source>
<Categorycode>string</Categorycode>
<location>string</location>
<dbreaking>string</dbreaking>
<dhome>string</dhome>
<dticker>string</dticker>
<c_code>string</c_code>
<attach_imgs>string</attach_imgs>
<attach_vids>string</attach_vids>
<attach_audis>string</attach_audis>
</insertUniStory>
</soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<insertUniStoryResponse xmlns="http://sample.com/">
<insertUniStoryResult>string</insertUniStoryResult>
</insertUniStoryResponse>
</soap:Body>
</soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /Service1.asmx HTTP/1.1
Host: newsapi.sapp.in
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<insertUniStory xmlns="http://sample.com/">
<story_code>string</story_code>
<head>string</head>
<subhead>string</subhead>
<story>string</story>
<status>string</status>
<usercode>string</usercode>
<deskcode>string</deskcode>
<centercode>string</centercode>
<pubcode>string</pubcode>
<languagecode>string</languagecode>
<sendtoweb>string</sendtoweb>
<byline>string</byline>
<tagname>string</tagname>
<keywords>string</keywords>
<source>string</source>
<Categorycode>string</Categorycode>
<location>string</location>
<dbreaking>string</dbreaking>
<dhome>string</dhome>
<dticker>string</dticker>
<c_code>string</c_code>
<attach_imgs>string</attach_imgs>
<attach_vids>string</attach_vids>
<attach_audis>string</attach_audis>
</insertUniStory>
</soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<insertUniStoryResponse xmlns="http://sample.com/">
<insertUniStoryResult>string</insertUniStoryResult>
</insertUniStoryResponse>
</soap12:Body>
</soap12:Envelope>
HTTP GET
The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.
GET /Service1.asmx/insertUniStory?story_code=string&head=string&subhead=string&story=string&status=string&usercode=string&deskcode=string¢ercode=string&pubcode=string&languagecode=string&sendtoweb=string&byline=string&tagname=string&keywords=string&source=string&Categorycode=string&location=string&dbreaking=string&dhome=string&dticker=string&c_code=string&attach_imgs=string&attach_vids=string&attach_audis=string HTTP/1.1 Host: newsapi.sapp.in
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <string xmlns="http://sample.com/">string</string>
HTTP POST
The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.
POST /Service1.asmx/insertUniStory HTTP/1.1 Host: newsapi.sapp.in Content-Type: application/x-www-form-urlencoded Content-Length: length story_code=string&head=string&subhead=string&story=string&status=string&usercode=string&deskcode=string¢ercode=string&pubcode=string&languagecode=string&sendtoweb=string&byline=string&tagname=string&keywords=string&source=string&Categorycode=string&location=string&dbreaking=string&dhome=string&dticker=string&c_code=string&attach_imgs=string&attach_vids=string&attach_audis=string
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <string xmlns="http://sample.com/">string</string>