POST api/Branch?apiKey={apiKey}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
apiKey | string |
Required |
Body Parameters
BranchName | Description | Type | Additional information |
---|---|---|---|
Identity | Identity |
None. |
|
CountryState | CountryState |
None. |
|
Name | string |
None. |
|
Address | string |
None. |
|
ContactNo | string |
None. |
|
TelephoneNo | string |
None. |
|
EmailID | string |
None. |
|
Attachment | Attachment |
None. |
|
Longitude | decimal number |
None. |
|
Latitude | decimal number |
None. |
|
BranchType | BranchType |
None. |
|
HoursToGetReady | integer |
None. |
|
Description | string |
None. |
|
Message | string |
None. |
|
BranchOfficeTiming | BranchOfficeTiming |
None. |
|
GoogleLocationURL | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Identity": { "Id": "57970f76-cec7-4a43-959a-6fd4f52e6875", "Code": "sample string 2" }, "CountryState": { "StateCode": "sample string 2", "StateName": "sample string 3", "CountryCode": "sample string 4", "CountryName": "sample string 5", "NationalityCode": "sample string 6", "NationalityName": "sample string 7" }, "Name": "sample string 4", "Address": "sample string 5", "ContactNo": "sample string 6", "TelephoneNo": "sample string 7", "EmailID": "sample string 8", "Attachment": { "AttachmentID": "b9c3bdbe-2ae1-43ec-96f9-0af3ccba2fab", "ImageString": "sample string 6", "AttachmentDataBase64": "sample string 7" }, "Longitude": 11.1, "Latitude": 12.1, "BranchType": { "BranchTypeID": "dc3d6ec7-a1b8-4951-890b-4c3ae0f2fa25", "Name": "sample string 2", "Attachment": { "AttachmentID": "b9c3bdbe-2ae1-43ec-96f9-0af3ccba2fab", "ImageString": "sample string 6", "AttachmentDataBase64": "sample string 7" } }, "HoursToGetReady": 15, "Description": "sample string 18", "Message": "sample string 19", "BranchOfficeTiming": {}, "GoogleLocationURL": "sample string 20" }
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResultName | Description | Type | Additional information |
---|---|---|---|
IsValid | boolean |
None. |
|
Message | string |
None. |
|
Code | string |
None. |
|
ID | globally unique identifier |
None. |
|
Errors | Collection of string |
None. |
|
ErrorCodes | Collection of ErrorCode |
None. |
Response Formats
application/json, text/json
Sample:
{ "IsValid": true, "Message": "sample string 2", "Code": "sample string 3", "ID": "62e00645-bfd8-425c-86c4-506ac4e1ed7f", "Errors": [ "sample string 1", "sample string 2" ], "ErrorCodes": [ 1, 1 ] }
application/xml, text/xml
Sample:
<Result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fleetlet.Entity"> <Code>sample string 3</Code> <ErrorCodes> <ErrorCode>Success</ErrorCode> <ErrorCode>Success</ErrorCode> </ErrorCodes> <Errors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </Errors> <ID>62e00645-bfd8-425c-86c4-506ac4e1ed7f</ID> <IsValid>true</IsValid> <Message>sample string 2</Message> </Result>