POST api/Branch/Post?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": "f9265e1c-ddb5-4bba-a50c-6667fed17a9c", "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": "53811214-cef4-4341-b7d3-5c32da2de587", "ImageString": "sample string 6", "AttachmentDataBase64": "sample string 7" }, "Longitude": 11.1, "Latitude": 12.1, "BranchType": { "BranchTypeID": "c621b82c-89e8-4ab2-92a5-02635d44d793", "Name": "sample string 2", "Attachment": { "AttachmentID": "53811214-cef4-4341-b7d3-5c32da2de587", "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": "f9d2128d-a3f0-4342-b20a-d415e70246e0", "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>f9d2128d-a3f0-4342-b20a-d415e70246e0</ID> <IsValid>true</IsValid> <Message>sample string 2</Message> </Result>