isave.API
Click here for a complete list of operations.
InsertFolderByCompanyID
Create new Folder, CompanyID is ID to owner of folder --> MenuTypeID 1 = Print, MenuTypeID 4 = Files, MenuTypeID 10 = eDM, MenuTypeID 11 = Forms/PURL, MenuTypeID 12 = Contacts
Test
The test form is only available for requests from the local machine.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /mrm/services/api.asmx HTTP/1.1 Host: dialog.isave.no Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://isave.no/InsertFolderByCompanyID" <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <InsertFolderByCompanyID xmlns="http://isave.no/"> <username>string</username> <password>string</password> <CompanyID>int</CompanyID> <objFolder> <FolderID>int</FolderID> <FolderName>string</FolderName> <MenuTypeID>int</MenuTypeID> <ParentFolderID>int</ParentFolderID> <TemplateID>int</TemplateID> <FolderAccess>int</FolderAccess> <Active>boolean</Active> <FolderGroup>boolean</FolderGroup> <PreviewURL>string</PreviewURL> <Stamp>dateTime</Stamp> <Deleted>dateTime</Deleted> <InfoText>string</InfoText> <AllowUserUpload>boolean</AllowUserUpload> <CRMEnabled>boolean</CRMEnabled> <PersonalImages>boolean</PersonalImages> <ProofWorkspace>string</ProofWorkspace> <PreventICCPostProcess>boolean</PreventICCPostProcess> <ProofSetting>short</ProofSetting> <InfoText2>string</InfoText2> <FolderData>string</FolderData> <AccessFolderID>int</AccessFolderID> <ImageOrientation>short</ImageOrientation> <CompanyReference /> </objFolder> </InsertFolderByCompanyID> </soap:Body> </soap:Envelope>
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <InsertFolderByCompanyIDResponse xmlns="http://isave.no/"> <InsertFolderByCompanyIDResult>int</InsertFolderByCompanyIDResult> </InsertFolderByCompanyIDResponse> </soap:Body> </soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /mrm/services/api.asmx HTTP/1.1 Host: dialog.isave.no Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <InsertFolderByCompanyID xmlns="http://isave.no/"> <username>string</username> <password>string</password> <CompanyID>int</CompanyID> <objFolder> <FolderID>int</FolderID> <FolderName>string</FolderName> <MenuTypeID>int</MenuTypeID> <ParentFolderID>int</ParentFolderID> <TemplateID>int</TemplateID> <FolderAccess>int</FolderAccess> <Active>boolean</Active> <FolderGroup>boolean</FolderGroup> <PreviewURL>string</PreviewURL> <Stamp>dateTime</Stamp> <Deleted>dateTime</Deleted> <InfoText>string</InfoText> <AllowUserUpload>boolean</AllowUserUpload> <CRMEnabled>boolean</CRMEnabled> <PersonalImages>boolean</PersonalImages> <ProofWorkspace>string</ProofWorkspace> <PreventICCPostProcess>boolean</PreventICCPostProcess> <ProofSetting>short</ProofSetting> <InfoText2>string</InfoText2> <FolderData>string</FolderData> <AccessFolderID>int</AccessFolderID> <ImageOrientation>short</ImageOrientation> <CompanyReference /> </objFolder> </InsertFolderByCompanyID> </soap12:Body> </soap12:Envelope>
HTTP/1.1 200 OK Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <InsertFolderByCompanyIDResponse xmlns="http://isave.no/"> <InsertFolderByCompanyIDResult>int</InsertFolderByCompanyIDResult> </InsertFolderByCompanyIDResponse> </soap12:Body> </soap12:Envelope>