POST api/AcceptUserTermsAndCondition
Request Information
URI Parameters
None.
Body Parameters
UserTermsAndConditionDTOName | Description | Type | Additional information |
---|---|---|---|
UserID | integer |
None. |
|
UserEmail | string |
None. |
|
CountryId | integer |
None. |
|
TermsAndConditionId | integer |
None. |
|
TermsAndConditionName | string |
None. |
|
TermsAndConditionDescription | string |
None. |
|
StartDate | date |
None. |
|
EndDate | date |
None. |
|
IsActive | boolean |
None. |
|
TermsAndConditionConfigurationId | integer |
None. |
|
TermsAndCondition | string |
None. |
|
HasAcceptedTerms | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "UserID": 1, "UserEmail": "sample string 2", "CountryId": 3, "TermsAndConditionId": 4, "TermsAndConditionName": "sample string 5", "TermsAndConditionDescription": "sample string 6", "StartDate": "2024-12-17T13:24:04.1880886+00:00", "EndDate": "2024-12-17T13:24:04.1880886+00:00", "IsActive": true, "TermsAndConditionConfigurationId": 7, "TermsAndCondition": "sample string 8", "HasAcceptedTerms": true }
application/xml, text/xml
Sample:
<UserTermsAndConditionDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NAPSWebApi.DTO.DTOModel.Users.TermsAndConditions"> <CountryId>3</CountryId> <EndDate>2024-12-17T13:24:04.1880886+00:00</EndDate> <HasAcceptedTerms>true</HasAcceptedTerms> <IsActive>true</IsActive> <StartDate>2024-12-17T13:24:04.1880886+00:00</StartDate> <TermsAndCondition>sample string 8</TermsAndCondition> <TermsAndConditionConfigurationId>7</TermsAndConditionConfigurationId> <TermsAndConditionDescription>sample string 6</TermsAndConditionDescription> <TermsAndConditionId>4</TermsAndConditionId> <TermsAndConditionName>sample string 5</TermsAndConditionName> <UserEmail>sample string 2</UserEmail> <UserID>1</UserID> </UserTermsAndConditionDTO>
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.