HTTP + XML
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /xml/reply/Search HTTP/1.1
Host: ws.patentstyret.no
Content-Type: application/xml
Content-Length: length
<Search xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PatentStyret_Backend_API.Models">
<Language>nb-NO</Language>
<Applicant>String</Applicant>
<DateFrom>0001-01-01T00:00:00</DateFrom>
<DateTo>0001-01-01T00:00:00</DateTo>
<MaximumSearchResults>0</MaximumSearchResults>
<OrderBy>Inndag</OrderBy>
<OrderDir>desc</OrderDir>
<Page>0</Page>
<SearchText>String</SearchText>
<Status />
<TrademarkText>String</TrademarkText>
</Search>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<SearchResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PatentStyret_Backend_API.Models">
<status>String</status>
<search_results />
<page>0</page>
<page_count>0</page_count>
<result_count>0</result_count>
<total_result_count>String</total_result_count>
</SearchResponse>