Portal

<back to all web services

AddCompliance

The following routes are available for this service:
POST/tender/{tenderid}/user/{userid}/compliance
AddCompliance Parameters:
NameParameterData TypeRequiredDescription
TenderIdpathintNo
UserIdpathintNo
PrivateOwnersbodyList<AddCompliancePrivateOwner>Yes
ActualOwnersbodyList<AddComplianceActualOwner>Yes
OrganizationOwnersbodyList<AddComplianceOrganizationOwner>Yes
ModifyComplianceBase Parameters:
NameParameterData TypeRequiredDescription
IsPreventCorruptionRiskformbool?No
AntiCorruptionMeasuresDescriptionformstringYes
IsPartnerCorruptformbool?No
IsCorruptionInspectionformbool?No
CriminalJudgementformstringYes
IsPartnerConvictedCorruptionformbool?No
PartnerConvictedEDocumentformstringYes
PartnerConvictedDetailsformstringYes
IsSelfExonerationformbool?No
SelfExonerationDetailsformstringYes
IsPartnerPEPContactformbool?No
PartnerPEPContactDetailsformstringYes
IsPartnerPEPformbool?No
PartnerPEPDetailsformstringYes
OtherformstringYes
IsActualOwnerformbool?No
ActualOwnerCommentformstringYes
IsPrivateOwnerformbool?No
IsOrganizationOwnerformbool?No
ModifyRequestBase Parameters:
NameParameterData TypeRequiredDescription
ConcurrencyStampformstringYes
AddCompliancePrivateOwner Parameters:
NameParameterData TypeRequiredDescription
NameformstringYes
BirthDateformDateTime?No
OwnershipformdecimalNo
AddComplianceActualOwner Parameters:
NameParameterData TypeRequiredDescription
NameformstringYes
BirthDateformDateTime?No
OwnershipformdecimalNo
AddComplianceOrganizationOwner Parameters:
NameParameterData TypeRequiredDescription
CountryIdformintNo
VatNumberformstringYes
RegistrationNumberformstringYes
NameformstringYes
ShortNameformstringYes
AddressformstringYes
MainActivityformstringYes
EstablishedDateformDateTimeNo
OwnershipformdecimalNo
ModifyEntityResponse Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
ResponseBase Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusYes

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /tender/{tenderid}/user/{userid}/compliance HTTP/1.1 
Host: szallitoiportal-be.veolia.hu 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	TenderId: 0,
	UserId: 0,
	PrivateOwners: 
	[
		{
			Name: String,
			BirthDate: 0001-01-01,
			Ownership: 0
		}
	],
	ActualOwners: 
	[
		{
			Name: String,
			BirthDate: 0001-01-01,
			Ownership: 0
		}
	],
	OrganizationOwners: 
	[
		{
			CountryId: 0,
			VatNumber: String,
			RegistrationNumber: String,
			Name: String,
			ShortName: String,
			Address: String,
			MainActivity: String,
			EstablishedDate: 0001-01-01,
			Ownership: 0
		}
	],
	IsPreventCorruptionRisk: False,
	AntiCorruptionMeasuresDescription: String,
	IsPartnerCorrupt: False,
	IsCorruptionInspection: False,
	CriminalJudgement: String,
	IsPartnerConvictedCorruption: False,
	PartnerConvictedEDocument: String,
	PartnerConvictedDetails: String,
	IsSelfExoneration: False,
	SelfExonerationDetails: String,
	IsPartnerPEPContact: False,
	PartnerPEPContactDetails: String,
	IsPartnerPEP: False,
	PartnerPEPDetails: String,
	Other: String,
	IsActualOwner: False,
	ActualOwnerComment: String,
	IsPrivateOwner: False,
	IsOrganizationOwner: False,
	ConcurrencyStamp: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Id: 0,
	ResponseStatus: 
	{
		ErrorCode: String,
		Message: String,
		StackTrace: String,
		Errors: 
		[
			{
				ErrorCode: String,
				FieldName: String,
				Message: String,
				Meta: 
				{
					String: String
				}
			}
		],
		Meta: 
		{
			String: String
		}
	}
}