POST api/Popup/Update
Request Information
URI Parameters
None.
Body Parameters
PopupUpdateDtoName | Description | Type | Additional information |
---|---|---|---|
Title | string |
None. |
|
Content | string |
None. |
|
CookieName | string |
None. |
|
CookieDay | integer |
None. |
|
RedirectUrl | string |
None. |
|
IsActive | boolean |
None. |
|
CompanySector | string |
None. |
|
DealerID | globally unique identifier |
None. |
|
DomainCode | integer |
None. |
|
ID | globally unique identifier |
Required |
|
CompanyID | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "title": "sample string 1", "content": "sample string 2", "cookieName": "sample string 3", "cookieDay": 4, "redirectUrl": "sample string 5", "isActive": true, "companySector": "sample string 7", "dealerID": "b28e21ca-98f9-419c-bc22-f35beb488a00", "domainCode": 1, "id": "b5a8b05b-894a-4581-be21-7165dca56489", "companyID": "5826fa16-2bb9-4b8c-93ae-8c1f296722aa" }
application/xml, text/xml
Sample:
<PopupUpdateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TP.TulTrack.Core.Service.DTOs"> <CompanyID>5826fa16-2bb9-4b8c-93ae-8c1f296722aa</CompanyID> <ID>b5a8b05b-894a-4581-be21-7165dca56489</ID> <CompanySector>sample string 7</CompanySector> <Content>sample string 2</Content> <CookieDay>4</CookieDay> <CookieName>sample string 3</CookieName> <DealerID>b28e21ca-98f9-419c-bc22-f35beb488a00</DealerID> <DomainCode>1</DomainCode> <IsActive>true</IsActive> <RedirectUrl>sample string 5</RedirectUrl> <Title>sample string 1</Title> </PopupUpdateDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"title":"sample string 1","content":"sample string 2","cookieName":"sample string 3","cookieDay":4,"redirectUrl":"sample string 5","isActive":true,"companySector":"sample string 7","dealerID":"b28e21ca-98f9-419c-bc22-f35beb488a00","domainCode":1,"id":"b5a8b05b-894a-4581-be21-7165dca56489","companyID":"5826fa16-2bb9-4b8c-93ae-8c1f296722aa"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.