POST api/JankariPortalPartner/UpdateOffice/{offid}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
offid

string

Required

Body Parameters

Office
NameDescriptionTypeAdditional information
offid

string

None.

ogid

string

None.

offname

string

None.

address

string

None.

state

string

None.

district

string

None.

city

string

None.

offarea

string

None.

pin

integer

None.

contact1

string

None.

contact2

string

None.

seqno

integer

None.

Organization

Organization

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 for property 'Organization' with type 'JankariPortalPartner_Live.Models.Organization'. Path 'Organization.UserMasters[0]'.

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 for property 'Organization' with type 'JankariPortalPartner_Live.Models.Organization'. Path 'Organization.UserMasters[0]'.

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[[JankariPortalPartner_Live.Models.Office, JankariPortalPartner_Live, 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[[JankariPortalPartner_Live.Models.Office, JankariPortalPartner_Live, 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 'Office'.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>