DonorHubWebService
Click here for a complete list of operations.
StaffDesig_SetInfo
Used to setup staff/project on "Give Site". SecurityLevel can be 0..3. (0 = Public, 1 = All Logged In Users, 2 = My Donors, 3 = My Trusted Donors) Restricting the security level to 3 only limits the donor's ability to see the Image, MoreInformation, SiteUrl or RssUrl.
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 /dataqueryservice.asmx HTTP/1.1 Host: local-mytntware-com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "donorhub.tntware.com/StaffDesig_SetInfo" <?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> <StaffDesig_SetInfo xmlns="donorhub.tntware.com"> <SessionID>string</SessionID> <StaffProfileCode>string</StaffProfileCode> <DesigCode>string</DesigCode> <Description>string</Description> <MoreInformation>string</MoreInformation> <SiteURL>string</SiteURL> <RssURL>string</RssURL> <SendingAgency>string</SendingAgency> <Location>string</Location> <Email>string</Email> <Facebook>string</Facebook> <Twitter>string</Twitter> <Instagram>string</Instagram> <SecurityLevel>int</SecurityLevel> <HideGiveButton>boolean</HideGiveButton> <CustomSortKey>string</CustomSortKey> </StaffDesig_SetInfo> </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> <StaffDesig_SetInfoResponse xmlns="donorhub.tntware.com" /> </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 /dataqueryservice.asmx HTTP/1.1 Host: local-mytntware-com 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> <StaffDesig_SetInfo xmlns="donorhub.tntware.com"> <SessionID>string</SessionID> <StaffProfileCode>string</StaffProfileCode> <DesigCode>string</DesigCode> <Description>string</Description> <MoreInformation>string</MoreInformation> <SiteURL>string</SiteURL> <RssURL>string</RssURL> <SendingAgency>string</SendingAgency> <Location>string</Location> <Email>string</Email> <Facebook>string</Facebook> <Twitter>string</Twitter> <Instagram>string</Instagram> <SecurityLevel>int</SecurityLevel> <HideGiveButton>boolean</HideGiveButton> <CustomSortKey>string</CustomSortKey> </StaffDesig_SetInfo> </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> <StaffDesig_SetInfoResponse xmlns="donorhub.tntware.com" /> </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 /dataqueryservice.asmx/StaffDesig_SetInfo?SessionID=string&StaffProfileCode=string&DesigCode=string&Description=string&MoreInformation=string&SiteURL=string&RssURL=string&SendingAgency=string&Location=string&Email=string&Facebook=string&Twitter=string&Instagram=string&SecurityLevel=string&HideGiveButton=string&CustomSortKey=string HTTP/1.1 Host: local-mytntware-com
HTTP/1.1 200 OK
HTTP POST
The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.
POST /dataqueryservice.asmx/StaffDesig_SetInfo HTTP/1.1 Host: local-mytntware-com Content-Type: application/x-www-form-urlencoded Content-Length: length SessionID=string&StaffProfileCode=string&DesigCode=string&Description=string&MoreInformation=string&SiteURL=string&RssURL=string&SendingAgency=string&Location=string&Email=string&Facebook=string&Twitter=string&Instagram=string&SecurityLevel=string&HideGiveButton=string&CustomSortKey=string
HTTP/1.1 200 OK