POST GuardForceDocumentsAPI/AddGuard

Request Information

URI Parameters

None.

Body Parameters

GuardForceDocuments
NameDescriptionTypeAdditional information
FileName

string

None.

Base64

string

None.

EmployeeName

string

None.

EmployeeID

string

None.

Designation

string

None.

AttachmentFile

string

None.

ID

integer

None.

SiteUrl

string

None.

EmployeeMobile

string

None.

EmergencyContact

string

None.

DOB

string

None.

DOJ

string

None.

DeploymentOrder

boolean

None.

Biodata

boolean

None.

AddressProof

boolean

None.

EducationCertificate

boolean

None.

AntecedentVerification

boolean

None.

PoliceVerification

boolean

None.

FingerPrint

boolean

None.

TrainingCertificate

boolean

None.

PFNo

string

None.

UANNo

string

None.

ESINo

string

None.

NDA

boolean

None.

VaccineStatus

string

None.

Remarks

string

None.

CreatedBy

string

None.

Actiontaken

boolean

None.

LocationID

integer

None.

filecontent

string

None.

CreatedDate

string

None.

Geo

string

None.

Location

string

None.

Site

string

None.

AuditedDate

string

None.

ModifiedBy

string

None.

ModifiedDate

string

None.

GuardForceList

Collection of GuardForceDocuments

None.

Request Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected with type 'SAAMS.Models.GuardForceDocuments'. Path 'GuardForceList'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected with type 'SAAMS.Models.GuardForceDocuments'. Path 'GuardForceList'.

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Object graph for type 'System.Collections.Generic.List`1[[SAAMS.Models.GuardForceDocuments, SAAMS.Models, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'System.Collections.Generic.List`1[[SAAMS.Models.GuardForceDocuments, SAAMS.Models, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'GuardForceDocuments'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.